cannot update initrd image due to missing kernel

If you ever get in touch with such an error while updating with apt-get / synaptic or manually updating the initram disk via update-initramfs you must have improperly removed a customized kernel version.

update-initramfs: Generating /boot/initrd.img-2.6.nn.nn-nn
Cannot find /lib/modules/2.6.nn.nn-nn
update-initramfs: failed for /boot/initrd.img-2.6.nn.nn-nn

In order to fix this issue you should simply delete the corresponding missing (and removed) kernel file from /var/lib/initramfs-tools

Related posts:

  1. update-initramfs updating your initial ramdisk
  2. automatic missing key adding for apt-get
  3. une-gconf-default gconf file missing error while updating
  4. compiling a new kernel: 1) the easiest way
  5. update VirtualBox signing key 54422A4B98AB5139
  6. How to update ALSA to latest version easily
  7. Adding the key of a launchpad PPA repository
| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

2 Responses to “cannot update initrd image due to missing kernel”

  1. fabrice eudes says:

    thanks for this tip !

  2. kobe84 says:

    Thanks, that solve my problem.

Leave a Reply

XHTML: You can use these tags: b, cite, code, em, i, q cite="", strike, strong.