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

Bug#760127: initramfs-tools: creating initrd fails



Package: initramfs-tools
Version: 0.116
Severity: important

a booted custom kernel is being used and installing a new kernel package fails as the initramfs script in /etc/kernel/postinst.d/ fails

apt-get install linux-image-3.14-2-amd64<enter> was issued
, and mkinitramfs also fails

'
mkinitramfs -k -o initrd.img-3.14-2-amd64
WARNING: missing /lib/modules/3.16.1-xxxx-std-ipv6-64-vps
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.16.1-xxxx-std-ipv6-64-vps: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
/dev/disk/by-uuid: Is a directory
mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
'

The current kernel I'm using was compiled with modules built-in the kernel without any external module path. My understanding is if I'm installing a new kernel from a package it should not depend that a module path exists for the current kernel because it could be customized similar to the case I'm using (that is without using a module path)

please look into, thanks

-Scott


Reply to: