-
grub lines?
I installed Gentoo on my new Athlon 64 box beside 4 other OSs using Fedora Core's grub. The other OSs boot fine, but not Gentoo. I spent another couple hours today installing Gentoo again after erasing it from my harddrive. It still won't boot (other OSs still do). Note that I have 2 variations for Gentoo and neither boots. Here's my menu.1st from /dev/hda2 and Gentoo is on /dev/hda12:
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
title Fedora Core (2.6.12-1.1447_FC4smp)
root (hd0,1)
kernel /vmlinuz-2.6.12-1.1447_FC4smp ro vga=790 root=LABEL=/ rhgb quiet noapic
initrd /initrd-2.6.12-1.1447_FC4smp.img
savedefault
boot
title Slamd64 Linux
root (hd0,10)
kernel /boot/vmlinuz root=/dev/hda11 ro vga=791 quiet splash noapic
savedefault
boot
title Vector Linux
root (hd0,9)
kernel /boot/vmlinuz root=/dev/hda10 ro vga=773 quiet splash
savedefault
boot
title Gentoo Linux
root (hd0,11)
kernel /boot/kernel-genkernel-x86_64-2.6.12-gentoo-r10 ro vga=791 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda12 splash=silent
initrd /boot/initramfs-genkernel-x86_64-2.6.12-gentoo-r10
title Gentoo Linux
root (hd0,11)
kernel /kernel-genkernel-x86_64-2.6.12-gentoo-r10 ro vga=791 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda12 splash=silent
initrd /initramfs-genkernel-x86_64-2.6.12-gentoo-r10
title WinXP
rootnoverify (hd0,0)
chainloader +1
Any idea why Gentoo won't boot off an ext3 partition?
-
What errors do you get when you try to boot them?
-
ok-I'm not sure how to save the grub errors to a file, so I'm typing this from an old pc next to my new one. Here's the error when I pick Gentoo from the grub menu:
Booting 'Gentoo Linux'
root (hd0,11)
Filesystem type is ext2fs, partition type 0X83
kernel /boot/kernel-genkernel-x86_64-2.6.12-gentoo-r10 ro vga=791 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_boot=/dev/hda12 splash=silent
Error 15: File not found
************************************************** **************
/dev/hda12 and /dev/hda2 are both ext3fs and both the kernel file and the initramfs files exist. This happens with and without specifying the /boot directory.
-
Here there's a troubleshooting guide, hope it helps.
-
I'll have time to read through all that later today. Hopefully it's only a grub problem. Could I booth my harddrive installed version of Gentoo from a live cd or floppy? I'm using kernel 2.6.12
-
Grub Error 15 normally means you didn't put something in the entry correctly.
I don't think you need the gen in the genkernel.
I also don't think you need the intramfs in the initrd line.
I used genkernel and here is my Gentoo entry.
Code:
title =Gentoo
root (hd0,8)
kernel /boot/kernel-2.6.11-gentoo-r6 root=/dev/hda9
udev
initrd /boot/initrd-2.6.11-gentoo-r6
-
Got it to work....gentoo's boot is a bit different than other OSs-it
includes options I never saw. My grub.conf (menu.1st) had to be changed a
bit for gentoo since it wasn't on the first partition like the handbook
example. Here it is (/boot is on hda2):
title Gentoo Linux
root (hd0,1)
kernel /boot/kernel-genkernel-x86_64-2.6.12-gentoo-r10 ro vga=791 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda12 splash=silent
initrd /boot/initramfs-genkernel-x86_64-2.6.12-gentoo-r10
-