View previous topic :: View next topic |
Author |
Message |
linux_student n00b
Joined: 03 Jul 2002 Posts: 8 Location: Indiana
|
Posted: Thu Aug 15, 2002 4:50 pm Post subject: Grub Error 2? |
|
|
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-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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Thu Aug 15, 2002 5:11 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Aug 15, 2002 5:14 pm Post subject: |
|
|
...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 |
|
|
linux_student n00b
Joined: 03 Jul 2002 Posts: 8 Location: Indiana
|
Posted: Thu Aug 15, 2002 5:17 pm Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Thu Aug 15, 2002 5:58 pm Post subject: |
|
|
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 |
|
|
linux_student n00b
Joined: 03 Jul 2002 Posts: 8 Location: Indiana
|
Posted: Thu Aug 15, 2002 6:15 pm Post subject: |
|
|
yes I have that entry |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Thu Aug 15, 2002 6:43 pm Post subject: |
|
|
Post your menu.lst file... there could be something not quite right. A typo perhaps. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
linux_student n00b
Joined: 03 Jul 2002 Posts: 8 Location: Indiana
|
Posted: Fri Aug 16, 2002 1:23 pm Post subject: |
|
|
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 |
|
|
linux_student n00b
Joined: 03 Jul 2002 Posts: 8 Location: Indiana
|
Posted: Fri Aug 16, 2002 2:51 pm Post subject: FIXED!!! |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20484
|
Posted: Fri Aug 16, 2002 5:16 pm Post subject: |
|
|
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 |
|
|
|