Bug #51
3.0a4: installation fails on unpartitioned USB stick
| Status: | Closed | Start: | 01/20/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Roman Strashkin | % Done: | 100% |
|
| Category: | - | Spent time: | - | |
| Target version: | ncp3-beta1 |
Description
When selecting an USB stick as drive to install to, installation fails with a Cannot create ZFS pool, c1t0d0s0 does not exist error.
This is caused by the autopart() function in the installer script, which returns without creating the Opensolaris slices, on removable devices.
After commenting out the "return" line, and reducing the root file system size value to fit on the usb stick, installation went fine.
History
Updated by Anil Gulecha over 2 years ago
Floris Bos wrote:
When selecting an USB stick as drive to install to, installation fails with a Cannot create ZFS pool, c1t0d0s0 does not exist error.
This is caused by the autopart() function in the installer script, which returns without creating the Opensolaris slices, on removable devices.
After commenting out the "return" line, and reducing the root file system size value to fit on the usb stick, installation went fine.
Thanks Floris,
Can you provide more details on what changes you made to the script/install process to continue successfully. What was the size of the USB drive?
Updated by Floris Bos over 2 years ago
- File usb-stick-fail.JPG added
Attached exact error message.
It's a 4 GB USB stick. I went to the console, copied nexenta-install.sh to /tmp so I could edit it, and commented out the following inside the function autopart():
if [ "$(RM_DISK}" !="" ]; then
return 1
fi
Changed AUTOPART_ROOT_SIZE to 3000
Updated by Dmitry Yusupov about 1 year ago
- Assigned to set to Roman Strashkin
- Target version set to ncp3-beta1
Updated by Roman Strashkin about 1 year ago
Strange, but i cannot reproduce.
I have USB Flash Kingston 2 Gb with FAT file system and some files. I connected this flash-drive to VMWARE and start installation. I chose to flash-drive and ....... My installation process is finished without issues.
Floris, can you add "echo $(RM_DISK} > /tmp/1.tmp" before 'return 1' to construction in autopart(): if [ "$(RM_DISK}" !="" ]; then return 1 fi
and send result.
Thanks.
Updated by Floris Bos about 1 year ago
Result: /dev/rdsk/c0t0d0p0
When trying to reproduce: make sure the USB stick is unpartitioned. E.g. clear out the partition table under Linux: dd if=/dev/zero of=/dev/your-usb-disk-device count=1
Updated by Roman Strashkin about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
fixed. tested. done.