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

Bug#760127: initramfs-tools: creating initrd fails



Control: tag -1 moreinfo

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

In what way does it fail?  What are the error messages?

> 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
> '

You didn't specify the kernel version to build for, so mkinitramfs
defaulted to the running kernel version.  The error handling could
definitely be improved here though.

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: