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

| Print This Post Print This Post | Email This Post Email This Post
RSS 2.0 | Trackback | Comment

One Response to “cannot update initrd image due to missing kernel”

Comments

  1. fabrice eudes says:

    thanks for this tip !


Leave a Reply

  • Page visits

    • 18
  • Polls

    Did you manage using the internal modem?

    View Results

    Loading ... Loading ...
  • Categories

  • Meta

  • Recent Comments

  • Archives

  • Most Visited

  • Linux On Laptops

    -->