Diegis Getae wrote: > Problem solved, installed this time around first OpenSolaris, and after that > the UBUNTU 9.04 Desktop-i386 version (partitioned the hard disk in two). > Solaris was installed in /dev/sda1 so that means (hd0,0). > After that I edited the UBUNTU /boot/grub/menu.lst file and added at the > bottom the following OpenSolaris entry: > > title OpenSolaris 10 > root (hd0,0) > chainloader +1 > makeactive > boot > > Also, I have commented out the instruction hiddenmenu, that is add a # sign > at the beginning of the third line of this section: > > ## hiddenmenu > # Hides the menu by default (press ESC to see the menu) > #hiddenmenu > > Now, when I start the computer, there is a boot menu that allows me to select > OpenSolaris or start with Ubuntu. > > Also, one can modify the timeout line in OpenSolaris menu.lst file > (/rpool/boot/grub/menu.lst) from the 30 seconds default to a smaller default > so that you don't have to wait 30 seconds or press again the Enter key since > you have already selected OpenSolaris (unless you add more boot options for > OpenSolaris and you need to choose between them). > > Hope this helps, it took me a while to figure it out, > Diegis. > Quick comment (my 2 cents worth):
if install Linux first then Solaris/BSD over and manage to loose grub, please see a how I made a while ago on getting it back without disrupting the system: http://forums.debian.net/viewtopic.php?f=17&t=27311 Not sure if it's been mentioned but a good thing is always to use an extended DOS partition to put /home and SWAP filesystems onto so that Solaris doesn't get confused as SWAP space has the same partition ID as old Solaris UFS file system part ID which means that the OS will try to use it as though it was free space!! --as I am quintroople booting (5 boot environments) please see my disk layout: [code] :~# fdisk -l Disk /dev/sda: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x34f7742e Device Boot Start End Blocks Id System /dev/sda1 1 19453 156256191 bf Solaris /dev/sda2 19454 23709 34186320 83 Linux /dev/sda3 * 23710 25534 14659312+ 83 Linux /dev/sda4 25535 38913 107466817+ 5 Extended /dev/sda5 25535 38665 105474726 83 Linux /dev/sda6 38666 38913 1992028+ 82 Linux swap / Solaris Disk /dev/sdb: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x80d2f3ee Device Boot Start End Blocks Id System /dev/sdb1 1 19457 156288321 83 Linux Disk /dev/sdc: 200.0 GB, 200049647616 bytes 255 heads, 63 sectors/track, 24321 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x426ab999 Device Boot Start End Blocks Id System /dev/sdc1 1 24321 195358401 83 Linux [/code] All on a laptop :-) in fact. Anyway hope that helps some.... Regards, --Kaya