NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
grub Error 15: File not foundHi All, I used Tina's HOWTO (http://forums.debian.net/viewtopic.php?t=4468) in this forum to build and install my new kernel. Everything seemed to go fine except when I try to reboot into the new kernel, I get: "Error 15: File not found" Below are the steps I used after configuring my new kernel. I'm thinking that the problem is with the initrd.img, but am not sure. Thanks in advance for your time and help. Did this after configuring my new kernel: 1) make dep 2) make-kpkg clean 3) make-kpkg kernel-image As expected, there was a new .dep package installed: /usr/src/linux-image-2.6.23_2.6.23-10.00.Custom_i386.deb 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 title new kernel 2.6.23 (recovery mode) 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 title new kernel 2.6.23 (recovery mode) 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, lb |
Why use uuid?
Not sure why you're using the uuid of the partition to locate the kernel in GRUB.
kernel and initrd (or initramfs) are located by GRUB when it refers to /boot/grub/device.map
/dev/hda1
/dev/sda1
or something similar...
if you're concerned about system robustness, use the uuid in /etc/fstab, which will mount the filesystem by uuid after the kernel and initramfs are loaded in memory.
also, 'make-kpkg --initrd kernel-image' is the 'Debian way' to build a kernel package with initramfs included in the package.
then install the package with 'dpkg -i umpty-scratch.deb'
then run 'grub-update'
which will neatly point the menu.lst items in the proper direction for grub (assuming you're starting from a running install)
--
Jai yen