Click to See Complete Forum and Search --> : Gentoo: Cannot Boot (GRUB)


STORMPROOF
10-15-2003, 11:41 PM
Can someone please help. This is my 6th Gentoo install, I come so close, however not close enough.

Here is the problem
--------------------------------------------------------------------------------------

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r6
[Linux-bzImage, setup=0x1400, size=010b220]
initrd (hd0,0)/boot/initrd-kernel-2.4.20-gentoo-r6

Error 15: File not found

Press any key to continue......
---------------------------------------------------------------------------------------

Well when I press a key it just goes back to the GRUB splash.

Can some one please help.

:confused:

skinner422
10-15-2003, 11:48 PM
can you post your /boot/grub/grub.conf

STORMPROOF
10-16-2003, 12:11 AM
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz


title=Gentoo-Workstation
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.4.20-r6 root=/dev/hda3
initrd (hd0,0)/boot/initrd-2.4.20-r6

skinner422
10-16-2003, 12:24 AM
did you change the name of your kernel to kernel-2.4.20-r6. it's normally bzImage. you may want to check that.

also i could be wrong about this, but i think your initrd link should look like

initrd = /initrd

i could be wrong on that though

hard candy
10-16-2003, 12:26 AM
Try deleting (hd0,0) from the kernel line IF your boot partition is hda1. If it is hda2, use (hd0,1). Also the same for the initrd line.
If you used the genkernel method then the kernel may have to be named linux-2.4.**, if you compiled it yourself using make bzImage, than change it to bzImage.

panther
10-16-2003, 07:24 AM
Try to boot with a floppy disk that you have saved your grub:

then
root (hd0,0)

kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r6


boot


tell us what happens next, does it boot?

Hayl
10-16-2003, 07:44 AM
is your boot partition a separate partition (as they recommend in the install doc)?

if it is then that is why GRUB is failing to find everything. the Gentoo install doc is _extremely_ confusing when it comes to setting up GRUB as they tell you to use a separate boot partition and then give a GURB configuration that uses a /boot directory under the / partition. it is the one part of their documentation that i think is very poorly written.

remove /boot from your kernel and initrd lines.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo-Workstation
root (hd0,0)
kernel (hd0,0)/bzImage-2.4.20-r6 root=/dev/hda3
initrd (hd0,0)/initrd-2.4.20-r6

(as was already mentioned above by another person - what is your bzImage named? in my example - I am using bzImage-2.4.20-r6)

STORMPROOF
10-17-2003, 05:28 PM
Guys thanks for all of your quick responses however I decided to blow the thing away and start all over. This time I got Gentoo up and running. I am working on getting xf86config configured at the moment. So far I have found out that startx works when I am not root however not when I am logged in as a normal user.

I will try to find out on my own how to fix this problem before I ask you GURU'S

Thanks for all of the posts, I really apreciate it!!;)