After posting the above, I started wondering if my LiveCD was "bad".  I 
downloaded and burned a new copy and got a lot further with it.  I was able to 
successfully install OpenSolaris 2008.11 onto the fourth partition on my hard 
drive.  However, something changed the partition type of my Linux swap 
partition to indicate a Solaris partition instead, then when OpenSolaris 
created the grub menu.lst file, it chose that partition (1) instead of the one 
where OpenSolaris is actually installed (3).  So rebooting onto the hard disk 
obviously failed.

I booted the LiveCD again, then did 'zpool import -f rpool' to mount up the zfs 
pool where OpenSolaris was installed.  Then I edited /rpool/boot/grub/menu.lst 
to use the correct partition number for OpenSolaris and used installgrub to 
write the MBR again.  Now I can successfully boot OpenSolaris from the fourth 
hard drive partition.

The last step was to get dual-boot working.  With OpenSolaris up and running 
from the hard drive, I edited /rpool/boot/grub/menu.lst again and added in an 
appropriate entry for Ubuntu.  (It helps if you print out Ubuntu's menu.lst 
file prior to starting all this.)  Then I wrote the MBR again with installgrub. 
 Now when I power up the machine, my grub menu allows me to choose OpenSolaris 
or Ubuntu, and either will boot correctly.

The only problem now is that Ubuntu won't use its swap partition anymore.  The 
partition table looks right in fdisk when running Ubuntu, but there is no 
/dev/sda2 device.  Instead there is now a /dev/sda6 that wasn't there before.  
I'm not real sure what it points to because there is no sda6 in fdisk, just 1-4 
as I would expect.  'swapon -a' tries to add sda6 but gives an error that it 
can't be accessed...
-- 
This message posted from opensolaris.org

Reply via email to