Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-09-2007, 05:26 PM   #1
Registered: May 2005
Posts: 57

Rep: Reputation: 15
grub Error 15: File not found

Hi All,

First time I've installed a new kernel. I've configured my new kernel and have run the following commands:

1) make dep

2) make-kpkg clean

3) make-kpkg kernel-image

As expected, there was a new .dep package installed:


I then installed the new kernel:

dpkg -i linux-image-2.6.23_2.6.23-10.00.Custom_i386.deb

That went fine and it edited my grub/menu.lst file adding these two expected new entries:

title new kernel 2.6.23
root (hd0,0)
kernel /boot/vmlinuz-2.6.23 root=UUID=afc14bc4-95c5-4fab-a57c-6121fa4b851a ro quiet splash

title new kernel 2.6.23 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23 root=UUID=afc14bc4-95c5-4fab-a57c-6121fa4b851a ro single

I verified that the kernel can be found via the above grub "kernel" entries:

root@darklight:/boot# ls vmlinuz-2.6.23

I rebooted, selected my new kernel and got:

"Error 15: File not found"

I then created a new initrd.img file:

mkinitramfs -o /initrd.img-2.6.23

Verified its presence:

root@darklight:/# ls /initrd.img-2.6.23

and lastly, added the new path to the "initrd" line:

title new kernel 2.6.23
root (hd0,0)
kernel /boot/vmlinuz-2.6.23 root=UUID=afc14bc4-95c5-4fab-a57c-6121fa4b851a ro quiet splash
initrd /initrd.img-2.6.23

title new kernel 2.6.23 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.23 root=UUID=afc14bc4-95c5-4fab-a57c-6121fa4b851a ro single
initrd /initrd.img-2.6.23

I reboot, select my new kernel and get the same Error 15: File not found.

I'm sure this is a simple fix but I'm just not seeing it.

Help Much Appreciated,


Last edited by lowbrow; 11-09-2007 at 05:27 PM.
Old 11-09-2007, 07:28 PM   #2
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31

Last edited by aquaboot; 11-09-2007 at 07:29 PM.
Old 11-10-2007, 06:52 PM   #3
Registered: Apr 2002
Location: Clinton Township, MI
Distribution: Debian, antiX, Kubuntu, Xubuntu, and many others
Posts: 605
Blog Entries: 15

Rep: Reputation: 81

One thing I would do is to make sure to keep both the vmlinuz image and the initrd image in the same location. You can put them anywhere you want, but common convention is to keep both in the /boot directory. I would start there.

Secondly, to do a bit more diagnostic work, you can use the e and c commands in GRUB to edit your entry and to enter GRUB command line mode, respectively.

In GRUB edit mode, what you could try is to call up GRUB and instead of booting with the entry and getting the file error message, instead use e and edit the entry. Scroll to the kernel line, type e, Enter, then remove part of the file spec for the kernel image and use the Tab key to search for what is actually out there.

Do the same thing with the initrd image.

Also, in your ls command examples, it was difficult to figure out which directory you were in at the time you verified the presence of the kernel and the init file. Hunt around in the directories, either with ls or grub and you may find that things are not located where you thought they were. That is the most likely scenario without actually having access to your system. Using ls and the GRUB e and c commands judiciously ought to help you discover which entries are not matching up and to get that resolved. Once you are there, you are home free.

Good luck finding out where the real problem lies. Let us know what you find out.

Last edited by masinick; 11-10-2007 at 06:54 PM.


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
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Error 15:File not found baruah Linux - Newbie 1 04-07-2006 05:03 AM
GRUB, SUSE, Error 15 File Not Found fizgigtiznalkie Linux - Distributions 2 08-31-2004 05:38 PM
grub 'file not found' iidbis Linux - General 1 02-02-2004 04:13 PM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 12:44 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:39 AM.

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