grub 2: "error: You need to load the kernel first"
Goh Lip
g.lip at gmx.com
Sun Nov 1 17:24:58 UTC 2009
Colin Brace wrote:
> Hi all,
>
> I've just installed 9.10 along side F11 on a laptop.
>
> When I boot, both the Ubuntu and Fedora installations are shown in grub.
>
> However, when I try to boot the latter, I get an error message: "error: You
> need to load the kernel first"
>
> Here is the relevant section in grub.cfg:
>
> ### BEGIN /etc/grub.d/30_os-prober ###
> menuentry "Fedora (2.6.30.9-90.fc11.i586) (on /dev/sda2)" {
> insmod ext2
> set root=(hd0,2)
> search --no-floppy --fs-uuid --set
> 5a8b0f33-5369-4a45-a501-455ed10f4fa7
> linux /boot/vmlinuz-2.6.30.9-90.fc11.i586 ro
> root=UUID=5a8b0f33-5369-4a45-a501-455ed10f4fa7 rhgb resume=/dev/sda3
> initrd /boot/initrd-2.6.30.9-90.fc11.i586.img
> }
> menuentry "Fedora (2.6.29.4-167.fc11.i586) (on /dev/sda2)" {
> insmod ext2
> set root=(hd0,2)
> search --no-floppy --fs-uuid --set
> 5a8b0f33-5369-4a45-a501-455ed10f4fa7
> linux /boot/vmlinuz-2.6.29.4-167.fc11.i586 ro
> root=UUID=5a8b0f33-5369-4a45-a501-455ed10f4fa7 resume=/dev/sda3 rhgb
> initrd /boot/initrd-2.6.29.4-167.fc11.i586.img
> }
> ### END /etc/grub.d/30_os-prober ###
>
> The above entries were generated automatically. The Fedora boot is on sda1,
> root is sd2.
>
> Any ideas about what is going on here?
>
> Thanks.
>
> -----
> Colin Brace
> Amsterdam
> http://lim.nl
Try changing
set root=(hd0,2)
to
set root=(hd0,1)
Regards,
Goh Lip
More information about the ubuntu-users
mailing list