LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-07-2004, 10:34 AM   #1
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
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
 
Old 09-07-2004, 12:32 PM   #2
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

Rep: Reputation: 31
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.

Last edited by 69_rs_ss; 09-07-2004 at 12:35 PM.
 
Old 09-07-2004, 12:42 PM   #3
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Original Poster
Rep: Reputation: 46
I compiled the kernel. Their doc doesn't have a -r switch on the gentoo manual
 
Old 09-07-2004, 03:29 PM   #4
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

Rep: Reputation: 31
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.
 
Old 09-08-2004, 09:21 AM   #5
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Original Poster
Rep: Reputation: 46
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

Last edited by musicman_ace; 09-08-2004 at 09:32 AM.
 
Old 09-08-2004, 08:18 PM   #6
69_rs_ss
Member
 
Registered: Jan 2004
Location: NY, USA
Distribution: Arch, openSUSE 11.1
Posts: 170

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo... grub problems... "/boot/grub/stage1" exists... no halo14 Gentoo 5 02-06-2011 04:50 PM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
[Gentoo] Ndiswrapper Problem - Failed to configure wireless for wlan0 freek sanders Linux - Software 8 11-11-2005 02:12 AM
VSFTP on Gentoo - directory listing failed animehair Linux - Software 4 12-10-2004 10:07 AM
Grub failed yousafzai Linux - Software 1 04-24-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration