[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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- (3: ...
 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-
 update-initramfs: Generating /boot/initrd.img-linux-image-
 Cannot find /lib/modules/linux-image-
 update-initramfs: failed for /boot/initrd.img-linux-image-

Unless I'm mistaken, an initramfs is still required if / is on an LVM2
logical volume.

Reply to: