Kernel compilation error: Error 15: File not found
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It oculd be both. After you did 'make install' did you check /boot to see if your new kernel and it's related symlinks were installed correctly? Have you checked the structure of /boot/grub/grub.conf to see if it added your new kernel correctly?
The kernel file is "vmlinuz-2.4.26"
I think there isn't any sym link created. Is it compulsory to create one? where to link it to?
In my grub.conf I realised I don't have the "initrd" line that is available in other kernel grub.conf configuration. Also the initrd file is not in my /boot. Could that be the reason for the error?
see below initrd missing for vmlinuz-2.4.26
drwxr-xr-x 4 root root 1024 Mar 5 11:51 .
drwxr-xr-x 22 root root 4096 Mar 7 10:08 ..
-rw-r--r-- 1 root root 46375 May 8 2004 config-2.6.5-1.358
-rw-r--r-- 1 root root 45815 May 8 2004 config-2.6.5-1.358smp
drwxr-xr-x 2 root root 1024 Mar 7 10:06 grub
-rw-r--r-- 1 root root 190522 Dec 30 09:24 initrd-2.6.5-1.358.img
-rw-r--r-- 1 root root 195496 Dec 30 09:25 initrd-2.6.5-1.358smp.img
drwx------ 2 root root 12288 Dec 30 17:19 lost+found
-rw-r--r-- 1 root root 239593 May 8 2004 System.map-2.6.5-1.358
-rw-r--r-- 1 root root 243573 May 8 2004 System.map-2.6.5-1.358smp
-rw-r--r-- 1 root root 1343652 Mar 4 15:55 vmlinuz-2.4.26
-rw-r--r-- 1 root root 1199031 May 8 2004 vmlinuz-2.6.5-1.358
-rw-r--r-- 1 root root 1282272 May 8 2004 vmlinuz-2.6.5-1.358smp
Below is my grub.conf:
title Fedora Core-up (2.6.5-1.358)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Red Hat Linux (2.4.26)
root (hd0,1)
kernel /boot/vmlinuz-2.4.26 ro root=/dev/hda2
No not compulsory just convention. Try changing the line 'root (hd0,1)' to
'root (hd0,0)' and give it a go. I find it interesting that you've got the 2.6.x kernel series installed stock, but you elected to build a 2.4.x. kernel. Just experimenting?
Yeah, I am trying to experiment this openmosix thingi. Because its manual and installation instruction are all in 2.4 series so I just chose 2.4 series. If I successfuly build one I will try it on 2.6 series kernel.
Hi niceman I think your problem is in your grub config file
when you created your entry you pointed to /boot/vmlinuz-2.4.26 ro root=/dev/hda2 for your kernel. I believe in Fedora the default path in already /boot so really you are looking for /boot/boot/vmlinuz-2.4.26 ro root=/dev/hda2......this makes sense because the entry before for the 2.6 kernel contains no /boot in the path to the kernel
I tried that, changed it to /boot/boot/vmlinuz-2.4.26 ro root=/dev/hda2
Still gave me the same error.
My senior told me because I am using fedora core 2. He said FC2 uses kernel 2.6, he said only if I use FC1 then it will work.
You misunderstood me I meant for you to remove the /boot all together...not add another, sry for the confusing post
...So in the end your grub.conf should look like this....
title Fedora Core-up (2.6.5-1.358)
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Red Hat Linux (2.4.26)
root (hd0,1)
kernel /vmlinuz-2.4.26 ro root=/dev/hda2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.