Gentoo Forums
Gentoo Forums
Quick Search: in
Grub: Cannot read grub.conf file
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
tylerd75
n00b
n00b


Joined: 29 Aug 2005
Posts: 52
Location: Norway

PostPosted: Fri Oct 23, 2009 12:22 pm    Post subject: Grub Error 15: File Not Found Reply with quote

I have a fileserver running Gentoo x64 (I've also tried x86, with the same grub error).

When I boot, grub is loaded normally, but when I choose the kernel and hit enter, the screen turns black and I get this error:
Grub Error 15: File Not Found

My grub.conf looks like this:
Code:

default 0
timeout 30
splashimage=(hd5,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.30-r8-2
root (hd5,0)
kernel /boot/kernel-genkernel-x86_64-2.6.30-gentoo-r5-1 init=/linuxrc root=/dev/ram0 ramdisk=8192 real_root=/dev/sdf3 udev vga=791 splash=silent
initrd /boot/initramfs-genkernel-x86_64-2.6.30-gentoo-r5-1


If I manually load the kernel etc. by entering the grub commandline:
Code:

kernel /boot/kernel-genkernel-x86_64-2.6.30-gentoo-r5-1 udev vga=791 real_root=/dev/sdf3
initrd /boot/initramfs-genkernel-x86_64-2.6.30-gentoo-r5-1
boot

Then the kernel boots fine.

I have a faint idea that this is either related to the initramfs or the BIOS setup of the sata controller.
I have never been able to boot from grub on this motherboard (Asus P5Q, ICH10R).
The menu.lst symbolic link exists...

Any ideas?
_________________
Martin
Linux User: #158780 @ http://counter.li.org
Back to top
View user's profile Send private message
s2ndsight
n00b
n00b


Joined: 09 Feb 2010
Posts: 1

PostPosted: Tue Feb 09, 2010 8:45 pm    Post subject: Reply with quote

I created a grub boot floppy according to the instructions I've found here. Understand that the setup (fd0) command invokes the grub-install command to look for menu.1st as the config file instead of grub.conf, and done practically everything else I can think of to solve this problem, and I'm stumped. When setup (fd0) completes, it tells me that stage 1 and stage 2 were written properly and the config file is expected to be found in /boot/grub/menu.1st, and that's exactly where it is.

When I boot from the floppy, instead of seeing the grub splash and the boot option, I get dumped back to the grub prompt after stage 2 has loaded. Somehow, the menu.1st file is not being found by grub.

At the grub prompt, if I enter "configfile /boot/grub/menu.1st", everything boots up perfectly.

Any suggestions?
Back to top
View user's profile Send private message
derk
Apprentice
Apprentice


Joined: 10 Mar 2003
Posts: 239
Location: St Thomas Ontario

PostPosted: Sun Feb 06, 2011 8:20 pm    Post subject: Reply with quote

looks like you have a typo .. should be: menu.lst ( a lower case L not a number 1) is it correct on your disk?
Back to top
View user's profile Send private message
flangemonkey
n00b
n00b


Joined: 26 Jul 2010
Posts: 18

PostPosted: Fri Dec 23, 2011 6:47 pm    Post subject: Reply with quote

not entirely on topic, but i had the same symptoms, with a different cause;

my grub/menu.lst had this:

#title Gentoo 3.0.6
root (hd0,7)
kernel (hd0,5)/gentoo-3.0.6 ro vga=791 root=/dev/sdc8

the comment over "title" was causing grub to bomb out to a command line, remove the comment:

title Gentoo 3.0.6
root (hd0,7)
kernel (hd0,5)/gentoo-3.0.6 ro vga=791 root=/dev/sdc8

all worked fine;

posting this here in the hope it'll help someone else one day :)
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
Goto page Previous  1, 2
Page 2 of 2

 
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