Kernel updates broken for LUKs cryptoroot: Failed to find suitable ramdisk generation tool for kernel version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Quick summary: Updating the kernel with apt-get fails with the message "Failed to find suitable ramdisk generation tool for kernel version". Running edgy with LUKs cryptoroot.
I have been using a LUKs cryptoroot with edgy for a couple of months. I installed the cryptoroot using these instructions: https:/
All was well until a kernel upgrade appeared in apt-get update. The output is as follows:
The following packages will be upgraded:
linux-
linux-
linux-
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.3MB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 93295 files and directories currently installed.)
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-image-
Could not find /usr/sbin/
The directory /lib/modules/
Done.
Unpacking replacement linux-image-
Running postrm hook /sbin/update-grub .
Searching for GRUB installation directory ... found: /boot/grub
Testing for an existing GRUB menu.list file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-
Found kernel: /vmlinuz-
Found kernel: /memtest86+.bin
Updating /boot/grub/menu.lst ... done
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-image-
Running depmod.
Finding valid ramdisk creators.
Failed to find suitable ramdisk generation tool for kernel version
2.6.17-11-generic on running kernel 2.6.17-11-generic in /usr/sbin/
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)
There has been talk of this in the forums:
- http://
- http://
- http://
but the advice to remove the mkinitramfs line from /etc/kernel-
I'm hoping the upgrade process hasn't broken my original initrd and I will still be able to reboot OK....
More system info follows:
uname -a
Linux laptopwired 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
cat /etc/kernel-
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
ramdisk = /usr/sbin/
cat /etc/initramfs-
# List of modules that you want to include in your initramfs.
#
# Syntax: module_name [args ...]
#
# You must run update-initramfs(8) to effect this change.
#
# Examples:
#
# raid1
# sd_mod
dm_mod
dm_crypt
sha256
aes_i586
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release (Jaunty)? Thanks in advance.