Grub can not boot Ubuntu, Boot error
Alexandra Zaharia
f0rg3r at gmail.com
Sat May 16 19:11:51 UTC 2009
On Sat, May 16, 2009 at 9:32 PM, carsten <carsten1 at onlinehome.de> wrote:
> Hi,
>
> I have the following installation configuration:
>
> On hard disk one (sda), I have OpenSUSE installed. On hard disk two
> (sdb), I have Ubuntu 9.04, i386, installed. I would like to boot Ubuntu
> with the OpenSUSE boot loader. Therefore Grub for Ubuntu is on sdb on
> the root partition installed.
You need the correct entry for Ubuntu in your menu.lst file.
Suppose you're on SuSE and your Ubuntu partition is mounted in
/media/ubuntu. Run:
ls -l /media/ubuntu | grep vmlinuz
You should see somethin like
lrwxrwxrwx 1 root root 30 2009-05-14 07:40 vmlinuz ->
/media/ubuntu/boot/vmlinuz-2.6.28-12-generic
lrwxrwxrwx 1 root root 30 2009-05-03 17:36 vmlinuz.old ->
/media/ubuntu/boot/vmlinuz-2.6.28-11-generic
Next, suppose the device (the partition) you have Ubuntu installed is
/dev/sdb1. If so, then run
sudo vol_id --uuid /dev/sdb1
The output will be something like
0d96c8fe-8d9b-47fb-85a2-65814ffc074a
Now, proceed to editing /boot/grub/menu.lst. Only change the Ubuntu section:
title Ubuntu 9.04
uuid 0d96c8fe-8d9b-47fb-85a2-65814ffc074a
kernel /boot/vmlinuz-2.6.28-12-generic
root=UUID=0d96c8fe-8d9b-47fb-85a2-65814ffc074a ro quiet splash
initrd /boot/initrd.img-2.6.28-12-generic
quiet
It should work now. Of course, change the UUID above with the UUID you
got when running vol_id.
If this doesn't work, you can try to run
sudo update-grub
Good luck.
More information about the ubuntu-users
mailing list