grub 2: "error: You need to load the kernel first"

Jim van Wel jim at coolzero.info
Sun Nov 1 16:20:27 UTC 2009


Hint:

http://packages.ubuntu.com/karmic/grub

You could install the original grub instead of the grub 2, from ubuntu
that is.

> And, you can try installing the fedora grub-0.97-51, which means you are
> overwriting the ubuntu grub 2. It should work, as it's only used for
> booting, but grub 2 is also little new to me. You got yourself a
> interesting problem :)
>
> Greetings,
> Jim.
>
>> Hi there,
>>
>> With fedora, you normally point to the kernel directive. Like this:
>>
>> kernel /vmlinuz-2.6.30.9-90.fc11.x86_64 ro
>> root=/dev/mapper/vg_coolzeropc-lv_root rhgb quiet
>>
>> Here a full example:
>>
>> title Fedora (2.6.30.9-90.fc11.x86_64)
>> 	root (hd0,1)
>> 	kernel /vmlinuz-2.6.30.9-90.fc11.x86_64 ro
>> root=/dev/mapper/vg_coolzeropc-lv_root rhgb quiet vga=0x31B
>> 	initrd /initrd-2.6.30.9-90.fc11.x86_64.img
>>
>> This should work without problems. Of course, you need to set the
>> root=/dev/mapper/whatever to your suitable settings. Good luck!
>>
>> Greetings,
>> Jim.
>>
>>>
>>> Hi all,
>>>
>>> I've just installed Ubuntu 9.10 along side F11. My disk now looks like
>>> this:
>>>
>>> /dev/sda1 F11 boot
>>> /dev/sda2 F11 root
>>> /dev/sda3 F11 swap
>>> /dev/sda5 F11 home
>>> /dev/sda6 9.10 root
>>> /dev/sda7 9.10 home
>>> /dev/sda8 91.0 swap
>>>
>>> When I reboot, I get grub, which has entries listed for both systems,
>>> but
>>> when I try to boot Fedora now, I get an error message: "error: You need
>>> to
>>> load the kernel first". (Ubuntu boots fine).
>>>
>>> I've tried booting manually from the grub command line, but the
>>> commands
>>> no
>>> longer appear to be the same, as Ubuntu is now using grub 2. Here are
>>> the
>>> relevant section from grub.cfg (menu.lst is now obsolete):
>>>
>>> ### 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.
>>>
>>> Does anyone know how to fix the error?
>>>
>>> Alternately, is there a way of telling the MBR to boot /dev/sda1 (F11
>>> boot)
>>> instead of /dev/sda6 (Ubuntu root), which is what is happening now?
>>>
>>> Thanks.
>>>
>>> -----
>>>   Colin Brace
>>>   Amsterdam
>>>   http://lim.nl
>>> --
>>> View this message in context:
>>> http://old.nabble.com/grub-2%3A-%22error%3A-You-need-to-load-the-kernel-first%22-tp26148903p26148903.html
>>> Sent from the Fedora List mailing list archive at Nabble.com.
>>>
>>> --
>>> fedora-list mailing list
>>> fedora-list at redhat.com
>>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>>> Guidelines:
>>> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>>
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines:
>> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>
>




More information about the fedora-list mailing list