On Sat, 2009-10-17 at 12:17 -0700, Luis Maceira wrote:
> I edited the menu.lst in /rpool/boot/grub/menu.lst to boot Linuxes on
> other partitions,the
> entries appear on the menu,but when I choose them GRUB does not find
> the path to the
> file(kernel) and gives a warning.The same entries worked normally when
> the Ubuntu Linux
> GRUB was in command,perhaps it is a problem OpenSolaris GRUB not
> knowing about
> the UUID and needs the old style identifier for the partitions?
> Here are the entries I pasted on menu.lst :
> 
> title           Ubuntu 9.04, kernel 2.6.28-15-generic
> uuid            470b556b-d040-4686-8e23-8be27db9d414
> kernel          /boot/vmlinuz-2.6.28-15-generic
> root=UUID=470b556b-d040-4686-8e23-8be27db9d414 ro quiet splash 
> initrd          /boot/initrd.img-2.6.28-15-generic
> quiet
> 
> title           Ubuntu 9.10, kernel 2.6.31-14-generic
> uuid            f4d782d0-3195-497d-a4e5-63510be12454
> kernel          /boot/vmlinuz-2.6.31-14-generic
> root=UUID=f4d782d0-3195-497d-a4e5-63510be12454 ro quiet splash
> initrd          /boot/initrd.img-2.6.31-14-generic
> quiet
> 
> title           Ubuntu 9.04, kernel 2.6.28-15-generic (on /dev/sda3)
> root            (hd0,2)
> uuid            2e17afc4-0933-48d6-bcae-fd9a4afd35cb
> kernel          /boot/vmlinuz-2.6.28-15-generic
> root=UUID=2e17afc4-0933-48d6-bcae-fd9a4afd35cb ro quiet splash 
> initrd          /boot/initrd.img-2.6.28-15-generic
> quiet
> 
> 
> 

I took the opposite approach and used Ubuntu's grub. My OpenSolaris is
on the second disk. During installation I installed OpenSolaris's grub
on the second disk. Then in my Ubuntu's /boot/grub/menu.lst I chainload
to OpenSolaris:

title           OpenSolaris
root            (hd1,0)
makeactive
chainloader     +1

BTW, I'm running Ubuntu 9.10 beta on another partition and let it write
over my MBR with grub2. Under grub 2 I added

menuentry "OpenSolaris" {
   set root=(hd1,1)
   chainloader +1
}

to /etc/grub.d/40_custom, then ran sudo update-grub. (Note that grub2
numbers partitions from 1, not 0. Sigh.)

Bob


Reply via email to