LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-20-2003, 04:00 PM   #1
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Gentoo Grub Error (Fresh Install)


Hi,

I just installed Gentoo 1.4. Upon attempting to boot, I get the following:

Code:
Booting 'Gentoo Linux'

root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-KV root=/dev/hda4

Error 15: File not found.
my boot partition should be hda1, my root should be hda4

Anyone have any recommendations on what I can try to boot this system? I did create a boot floppy.

Thanks for any help.

Dave
 
Old 11-20-2003, 06:52 PM   #2
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Rep: Reputation: 30
try modifying the /boot/kernel-KV to the actual kernel version.
 
Old 11-21-2003, 05:50 AM   #3
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Zerodark
try modifying the /boot/kernel-KV to the actual kernel version.
*blushes like a Japanese girl and goes 'tee hee' *... okay...i guess I took the manual a little too literally. I will try it. Thanks.
 
Old 11-21-2003, 08:29 AM   #4
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Original Poster
Rep: Reputation: 31
Okay, I can get to the "grub>" prompt, but whenever I try to run the command

Code:
kernel (hd0,0)/boot/kernel-genkernel root=/dev/hda4
It still says file not found. Am I pointing to the wrong drive with the "hd0,0" parameter? My root is on hda4, would that translate to hd0,3?

Such a n00b with this bootloader stuff....got lulled into stupidity by Redhat which used to do all this for me.

Thanks for any help.
 
Old 11-21-2003, 11:23 AM   #5
taozilla
LQ Newbie
 
Registered: Nov 2003
Location: Texas
Distribution: FreeBSD n00b-Gentoo
Posts: 5

Rep: Reputation: 0
What is the kernel named?

I think you took the directions to literal again

Kernel-KV stands for kernel-(kernel version)

you should be able to ls /boot and set your /boot/grub/grub.conf as appropriate.
 
Old 11-21-2003, 01:02 PM   #6
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Original Poster
Rep: Reputation: 31
Re: What is the kernel named?

Quote:
Originally posted by taozilla
I think you took the directions to literal again

Kernel-KV stands for kernel-(kernel version)

you should be able to ls /boot and set your /boot/grub/grub.conf as appropriate.
I can't boot into the system, but I can get to the "grub>" prompt at boot time. Is there an easy way to edit grub.conf from this prompt, or a way to boot manually into the system from this prompt?
 
Old 11-21-2003, 02:55 PM   #7
taozilla
LQ Newbie
 
Registered: Nov 2003
Location: Texas
Distribution: FreeBSD n00b-Gentoo
Posts: 5

Rep: Reputation: 0
use the command line for grub

Yes

When the menu comes up type c for command, this should put you at a prompt. Then type in root (hd0,0) and hit enter. Of course use whatever ever the root partition for your system is.

Then type kernel (hd0,0) /boot/kernel "TAB KEY" this should present you with a list of kernels found in your /boot directory.

Re-type kernel (hd0,0) /boot/kernel-2.2.22-ck2 or whatever the name of the kernel is then type boot

This should get you back in to your system.

Otherwise use the gentoo live cd to boot then chroot over to your boot partition.
 
  


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
Grub not booting with Sata on fresh Gentoo install jxbryan Linux - Software 2 03-08-2005 06:02 PM
fresh gentoo install, not recognizing eth0 CamelofCamelot Linux - Networking 4 02-13-2005 05:21 PM
[GENTOO] fresh install, two nasty problems giro83 Linux - General 2 09-03-2004 12:59 AM
GRUB (this is what I see after a fresh install) free_andrew Slackware 8 12-10-2003 08:12 PM
problems with a fresh Gentoo 1.2 install Gentooer Linux - General 1 12-16-2002 10:39 AM

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

All times are GMT -5. The time now is 05:13 AM.

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