By blogfinger on Dec 14, 2008
For installing OpenSolaris 2008.11 on a USB stick (installation on a 250 GB USB drive worked fine for me), please be aware of bug 4755 which leads to a GRUB> prompt after attempting to boot from a newly installed OpenSolaris 2008.11 USB stick.
Here's how it worked for me, on a Intel D201GLY2A system with 1 GB RAM:
- Change your BIOS so that it will boot from USB or CD, if present
- Boot from the OpenSolaris 2008.11 CD
- After the system as booted, plug in a USB stick with at least 4 GB (in my case 8 GB) capacity and wait until a new symbol shows up on the desktop
- Double click on the "Install Solaris" icon, select the USB stick, use the "use whole disk" setting, proceed through the rest of the installation customizing and press the appropriate button to start the installation.
- Wait until the installation has completed, but do not press the "Reboot" button!
- Follow this advice:
- Download this file (76.8 kB)
- unzip and untar it to /tmp, using command
gzip -d grub_zfs_devid.tar.gz | tar -xf -
(will create two files: stage1 and stage2)
to find out the device name of the newly created pool on the USB stick. Let's assume the device name shown is /dev/rdsk/c4t0d0s0.
- and install the two files from the tar file on that device:
installgrub /tmp/stage1 /tmp/stage2 /dev/rdsk/c4t0d0s0
- Then, press the reboot button. Take out the OpenSolaris CD when the system starts booting, so that it will boot from the USB stick. According to the bug, booting might fail if the boot order is changed in the BIOS, so until the bug is fixed, you should keep the boot order as it was during the installation.