LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   failed gentoo, need grub help (https://www.linuxquestions.org/questions/linux-distributions-5/failed-gentoo-need-grub-help-227723/)

musicman_ace 09-07-2004 10:34 AM

failed gentoo, need grub help
 
When I boot my system, it comes up to a grub command line where I can't boot anything cause it says the kernel is missing

I partitioned the drives as follows

/boot is /dev/hda1
/ is /dev/hda2
swap is /dev/hdb1
/home is /dev/hdb2


Grub looks like this

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

title=Gentoo Linux 2.6.5
root (hd0,0)
kernel /kernel-2.6.5-gentoo root=/dev/hda2


I thought I followed Gentoo's instructions, but now i'm not so sure. Can someone tell me what I did wrong.
thanks

69_rs_ss 09-07-2004 12:32 PM

Did you use genkernel or did you do the kernel by yourself? Also check that kernel part in grub. There is usually a -r# from the kernel. The # depends on the release of the kernel you are using.

musicman_ace 09-07-2004 12:42 PM

I compiled the kernel. Their doc doesn't have a -r switch on the gentoo manual

69_rs_ss 09-07-2004 03:29 PM

The doc shows this
Quote:

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.26-r6
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r6 root=/dev/hda3
The -r# i was talking about is where it shows
Code:

kernel /kernel-2.4.26-gentoo-r6
The one you have posted is missing that last -r#, kernel /kernel-2.6.5-gentoo,which is what I think is causing the problems.

musicman_ace 09-08-2004 09:21 AM

My kernel doesn't have the -r# in its name. its name is "kernel-2.6.7-gentoo" and yes, Even though I posted 2.6.5, it is 2.6.7 as the filename and in the grub.conf. Adding more characters to it would make it a wrong filename and wouldn't help in my mind

===============
EDIT:
GOT IT SOLVED

Thanks for all the help everyone

69_rs_ss 09-08-2004 08:18 PM

Just curious, what was the problem? I'm glad you got it working though.


All times are GMT -5. The time now is 05:18 PM.