Installing OpenSolaris 2008.11 on a USB stick

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:

  1. Change your BIOS so that it will boot from USB or CD, if present
  2. Boot from the OpenSolaris 2008.11 CD
  3. 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
  4. 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.
  5. Wait until the installation has completed, but do not press the "Reboot" button!
  6. Follow this advice:
    1. Download this file (76.8 kB)
    2. unzip and untar it to /tmp, using command
      cd /tmp
      gzip -d grub_zfs_devid.tar.gz | tar -xf -

      (will create two files: stage1 and stage2)
    3. run
      zpool status
      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.
    4. and install the two files from the tar file on that device:
      installgrub /tmp/stage1 /tmp/stage2 /dev/rdsk/c4t0d0s0
  7. 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.
Comments:

[Trackback] Procedimiento para instalar OpenSolaris 2008.11 en una llave USB.

Posted by meneame.net on December 15, 2008 at 01:46 AM CET #

[Trackback] I chose the Intel D945GCLF board with a processor TDP of just 4W. The northbridge/GPU apparently needs more power, so it is cooled with a fan whereas the CPU does not need one. Unfortunately, the fan is really loud. The following picture shows the or...

Posted by Bernd Finger's Weblog on December 21, 2008 at 08:51 AM CET #

Thanks man. this was extremely helpful.
This problem has been resolved in the newer build of OpenSolaris.
But well, package support is kind of hard, so this was a great workaround.
Now to figure out how to convert the rest of my HDDs to pure zfs :)

Posted by Raja on May 01, 2009 at 05:41 AM CEST #

Oh yeah, dont do a pkg image-update after that.
The same problem occurs immediately on reboot \*_\*

Instead, upgrade straight to the opensolaris 2009.06 development release, which solves the problem.

To do that, follow this:-

OpenSolaris 2009.06 Developer Builds

Development has already started on the next release, 2009.06. You can update your existing 2008.11 installation by connecting to the developer repository

user@opensolaris:~$ pfexec pkg set-authority -O http://pkg.opensolaris.org/dev/ opensolaris.org

(taken from http://opensolaris.org/os/downloads/ )

Posted by Raja on May 02, 2009 at 06:38 AM CEST #

Thanks, this solves indeed the problem. Just an added detail: if one does as explained when logged as "jack", for instance for correcting xorg.conf, one should use
pfexec installgrub ...

It worked fine for me to install opensolaris on a 16 GB SD-HC class 6 card.

Thanks again I shall now be able to use this eee-pc 901 with something else than windows.

Marc

Posted by marc Lobelle on May 03, 2009 at 03:37 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

blogfinger

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today