Bug#445735: image creation fails with a non-modular kernel
Package: initramfs-tools
Version: 0.91b
I compiled a kernel using kernel-package, with CONFIG_MODULES not set
since this machine is not going to need to load any modules. When
trying to install the generated .deb, I get the following error:
Setting up linux-image-2.6.22.9 (3:2.6.22.9.anomie1) ...
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
mkinitramfs-kpkg failed to create initrd image.
Failed to create initrd image.
Executing update-initramfs with the -v option gives more information:
# update-initramfs -c -v -k linux-image-2.6.22.9
update-initramfs: Generating /boot/initrd.img-linux-image-2.6.22.9
Cannot find /lib/modules/linux-image-2.6.22.9
update-initramfs: failed for /boot/initrd.img-linux-image-2.6.22.9
Unless I'm mistaken, an initramfs is still required if / is on an LVM2
logical volume.
Reply to: