|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
grub 2: "error: You need to load the kernel first"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. |
|
|
Re: grub 2: "error: You need to load the kernel first"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@... > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: > http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"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@... >> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list >> Guidelines: >> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines >> > > -- > fedora-list mailing list > fedora-list@... > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > Guidelines: > http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"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@... >>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list >>> Guidelines: >>> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines >>> >> >> -- >> fedora-list mailing list >> fedora-list@... >> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list >> Guidelines: >> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines >> > -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"Colin Brace wrote:
> 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 > -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"But If you replace grub2 with the legacy grub, you have to add an
boot-partition for ubuntu 9.10 because the legacy grub can't boot an ext4-partition, which is the standard-fs of ubuntu. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"Just one. |
|
|
Re: grub 2: "error: You need to load the kernel first"> 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? 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 } Change set root=(hd0,2) to set root=(hd0,1) Change search --no-floppy --fs-uuid --set 5a8b0f33-5369-4a45-a501-455ed10f4fa7 to search --no-floppy --fs-uuid --set UUID_of_sda1 Change linux /boot/vmlinuz-2.6.30.9-90.fc11.i586 ro to linux /vmlinuz-2.6.30.9-90.fc11.i586 ro Change root=UUID=5a8b0f33-5369-4a45-a501-455ed10f4fa7 rhgb resume=/dev/sda3 to root=UUID=UUID_of_sda2 rhgb resume=/dev/sda3 Change initrd /boot/initrd-2.6.30.9-90.fc11.i586.img to initrd /initrd-2.6.30.9-90.fc11.i586.img (What does "resume=/dev/sda3" do?) You can either change these lines in /boot/grub/grub.cfg (but keep a backup because it will be overwritten the next time that grub-mkconfig is run) or chmod -x /etc/grub.d/30_os-probe and add your Fedora entries into /etc/grub.d/40_custom. # cat /etc/grub.d/40_custom cat << EOF menuentry "F11 on sda1/sda2 { ... } EOF -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"On Sun, 2009-11-01 at 07:16 -0800, Colin Brace wrote:
> 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? > grub. What you show as grub.cfg I assume corresponds to Fedora grub.conf. In Fedora the grub.conf has a line: boot=/dev/sda does Ubuntu grub.cfg have an equivalent line. The syntax of your grub.cfg is so different than grub.conf it is difficult to match functionality. -- ======================================================================= Forms follow function, and often obliterate it. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@... -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"On Sun, 2009-11-01 at 17:10 +0100, Jim van Wel wrote:
> 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. > same line as the kernel part. > > > > 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@... > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list > > Guidelines: > > http://fedoraproject.org/wiki/Communicate/MailingListGuidelines > > > ======================================================================= "Infidels in all ages have battled for the rights of man, and have at all times been the fearless advocates of liberty and justice." -- Robert Green Ingersoll ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@... -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"On Sun, Nov 01, 2009 at 18:28:08 +0100,
Philipp Böhm <intelsonstnix@...> wrote: > But If you replace grub2 with the legacy grub, you have to add an > boot-partition for ubuntu 9.10 because the legacy grub can't boot an > ext4-partition, which is the standard-fs of ubuntu. That changed in Fedora 11 updates. If you use the latest grub in F11 or F12 (I don't know if the F10 version got that ability.) it will be able to boot off of ext4 partitions. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"On Sun, 2009-11-01 at 22:56 +0200, Tom H wrote:
> What does "resume=/dev/sda3" do? It means that, during bootup, that partition will be looked at to see if it has the data required to resume from hibernation (basically, a dump of the memory, when it went into hibernation), and it will resume from it, if it does, and if it can. Otherwise, it boots up normally. -- [tim@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first">> What does "resume=/dev/sda3" do?
> It means that, during bootup, that partition will be looked at to see if > it has the data required to resume from hibernation (basically, a dump > of the memory, when it went into hibernation), and it will resume from > it, if it does, and if it can. Otherwise, it boots up normally. Thanks. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first">> 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? > > > 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 > } > > Change > set root=(hd0,2) > to > set root=(hd0,1) > > Change > search --no-floppy --fs-uuid --set 5a8b0f33-5369-4a45-a501-455ed10f4fa7 > to > search --no-floppy --fs-uuid --set UUID_of_sda1 > > Change > linux /boot/vmlinuz-2.6.30.9-90.fc11.i586 ro > to > linux /vmlinuz-2.6.30.9-90.fc11.i586 ro > > Change > root=UUID=5a8b0f33-5369-4a45-a501-455ed10f4fa7 rhgb resume=/dev/sda3 > to > root=UUID=UUID_of_sda2 rhgb resume=/dev/sda3 > > Change > initrd /boot/initrd-2.6.30.9-90.fc11.i586.img > to > initrd /initrd-2.6.30.9-90.fc11.i586.img > > (What does "resume=/dev/sda3" do?) > > You can either change these lines in /boot/grub/grub.cfg (but keep a > backup because it will be overwritten the next time that grub-mkconfig > is run) or chmod -x /etc/grub.d/30_os-probe and add your Fedora > entries into /etc/grub.d/40_custom. > > # cat /etc/grub.d/40_custom > cat << EOF > menuentry "F11 on sda1/sda2 { > ... > } > EOF 2nd option Since Grub 2 allows you to boot from ext4, you could boot into karmic, mount sda1 and sda2, copy (cp -rp) the contents of sda1 into /boot (boot's mount point) on sda2, comment out the "/boot" line in /etc/fstab, and run update-grub to re-create a proper /boot/grub/grub.cfg. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"Tim:
>> It means that, during bootup, that partition will be looked at to see if >> it has the data required to resume from hibernation Tom H: > Thanks. By the way, it's not generally needed to specify that, so don't worry when you don't have such a parameter set. It may be needed if there's some trouble in determining the right partition (e.g. multiboot systems, or where you've changed drives around). Usually, the initrd configuration has the partition already set in it. -- [tim@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
|
|
Re: grub 2: "error: You need to load the kernel first"On Sun, Nov 1, 2009 at 7:16 AM, Colin Brace <cb@...> wrote:
> > 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 ....... > > 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). NOTE WELL that Ubuntu 9.10 wants to install Grub version 2 There have been discussions on the Ubuntu lists where Ubuntu caused dual boot (ubuntu new and ubuntu new) issues. I think the solution was to boot with a live CD and downgrade grub. Since grub is a chain loader we need to know the chain of boot tools that you have built. The MBR points to foo, foo points to bar, and bar loads bletch from device xyz. What if /boot was ext4 and your older fedora can only read ext3? You should still be able to fix it with a live or rescue CDROM. -- NiftyFedora T o m M i t c h e l l -- fedora-list mailing list fedora-list@... To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines |
| Free embeddable forum powered by Nabble | Forum Help |