mikel n00b
Joined: 29 Nov 2003 Posts: 12
|
Posted: Sat Dec 06, 2003 8:00 pm Post subject: Still Learning, Grub Still Not Booting -Error 15 |
|
|
Hello,
I have posted previously about this but haven't been able to fix it so far.
I have installed using stage 3 + GRP and using genkernel. Grub boot screen comes up but booting gives an Error 15.
The relevant line in the grub.conf file are:
root (hd0,0)
kernel (hd0,0)/kernel-2.4.20-gentoo-r6 root=/dev/hda3
initrd (hd0,0)/initrd-2.4.20-gentoo-r6
I have tried the suggestion of adding /boot but this has no effect. (As I understand from other posts, (hd0,0) is the boot so /boot is redundant. In this case the installation guide is inaccurate because it says to use exactly the string that genkernel outputs at the end, and that string includes /boot).
I have also tried the suggestion of separating root=/dev/hda3 with a tab from the kernel line but again no change in behavior.
I have looked in my /boot and found the kernel and initrd strings as written.
Now, the strange thing is when I go to the Grub command line from the grub boot screen, if I do the following:
grub > kernel /kernel-2.4.20-gentoo-r6 root=/dev/hda3
grub > initrd /initrd-2.4.20-gentoo-r6
grub > boot
Then gentoo boots! These are the same kernel and initrd strings as in the grub.conf and yet there it won't boot.
Any explanations? What more information can I provide for
diagnosis?
(I tried leaving out the "(hd0,0)" in the grub.conf lines since it doesn't seem necessary on the command line. No joy.)
========================
More Info
========================
# grub
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0,0)
Checking if "/boot/grub/stage1" exists . . . yes
Checking if "/boot/grub/stage2" exists . . . yes
Checking if "/boot/grub/e2fs_stages1_5" exists . . . yes
Running "embed /boot/grub/e2fs_stages1_5 (hd0,0)" ...
Failed (This is not Fatal)
Running "embed /boot/grub/e2fs_stages1_5 (hd0,0)" ...
Failed (This is not Fatal)
Running "install /boot/grub/stage1 (hd0,0)
/boot/grub/stage2 p /boot/grub/grub.conf" . . . succeeded.
Done. |
|