Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub Error 2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
linux_student
n00b
n00b


Joined: 03 Jul 2002
Posts: 8
Location: Indiana

PostPosted: Thu Aug 15, 2002 4:50 pm    Post subject: Grub Error 2? Reply with quote

1st off, heres the machine specs:
AMD K6-2 350MHz
320 MB RAM
FIC VA-503+ MoBo
nVidia TNT2 Pro 16MB AGP
C-media Snd Card (i know it worked under redhat :D )
D-link NIC (8139too module)
No name 8x CDROM (hey it mounts and reads...)
3GB HD

Partition setup:
/dev/hda1 /boot ext3 110MB
/dev/hda2 swap swap 640MB
/dev/hda3 / ext3 the rest of the hd

I recently installed Gentoo to get away from the "RedHat Bloat" - Had none of the problems associated with AMD processors or anything of the sort...when I try to reboot I get a Grub error 2 ( Bad file or directory type
This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO) I am using a menu.lst file that is identical to listing 43 in the install doc...can someone help?
Thank you in advance,
LS
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Thu Aug 15, 2002 5:11 pm    Post subject: Reply with quote

Did you mount /boot before creating the menu.lst file? Also, it is lst (lowercase L), not 1st (as in first).
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Aug 15, 2002 5:14 pm    Post subject: Reply with quote

...and did you mount /boot when you copied your kernel over? Is the kernel really where you told GRUB that it was?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
linux_student
n00b
n00b


Joined: 03 Jul 2002
Posts: 8
Location: Indiana

PostPosted: Thu Aug 15, 2002 5:17 pm    Post subject: Reply with quote

yes I did; even double checked it (this isnt the 1st time for me installing Gentoo; I had it on my laptop at one time) I also mounted my root, removed and recreated the /boot dir in case there were some files present in that dir, but to no avail.
LS
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Thu Aug 15, 2002 5:58 pm    Post subject: Reply with quote

With /boot mounted, do you have this entry?
Code:
# ls -al /boot/boot
lrwxrwxrwx    1 root     root            1 Apr 17 23:36 /boot/boot -> .

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
linux_student
n00b
n00b


Joined: 03 Jul 2002
Posts: 8
Location: Indiana

PostPosted: Thu Aug 15, 2002 6:15 pm    Post subject: Reply with quote

yes I have that entry
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Thu Aug 15, 2002 6:43 pm    Post subject: Reply with quote

Post your menu.lst file... there could be something not quite right. A typo perhaps.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
linux_student
n00b
n00b


Joined: 03 Jul 2002
Posts: 8
Location: Indiana

PostPosted: Fri Aug 16, 2002 1:23 pm    Post subject: Reply with quote

Here is the menu.lst file:
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

sorry for the delay between your last post & this one (I was @ work)
LS
Back to top
View user's profile Send private message
linux_student
n00b
n00b


Joined: 03 Jul 2002
Posts: 8
Location: Indiana

PostPosted: Fri Aug 16, 2002 2:51 pm    Post subject: FIXED!!! Reply with quote

Hello,
turns out its the Install doc thats wrong; By reading the GRUB How-to at: http://www.tldp.org/HOWTO/Linux+Win9x+Grub-HOWTO/proc.html#AEN54
I noticed a small difference between the menu.lst there and the one in the install doc, namely:
Code:

title=My example Gentoo Linux

should read:
Code:

title My example Gentoo Linux

(note absence of = sign)
Thanks for you help.
LS
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Fri Aug 16, 2002 5:16 pm    Post subject: Reply with quote

That's odd, my menu.lst has them and I have no boot problems.
Code:
default 0
timeout 3
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

# Windows 2000 Professional
title=Windows 2000 Professional
root (hd0,0)
chainloader +1

# Multi boot options follow
# Gentoo Linux
title=Gentoo Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/hda4

# Gentoo Linux (Emergency)
title=Gentoo Linux (Emergency)
root (hd0,1)
kernel /boot/bzImage.emergency root=/dev/hda4

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum