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

Bug#760127: initramfs-tools: creating initrd fails



On Fri, 2014-09-26 at 21:39 -0400, westlake wrote:
> "WARNING: missing /lib/modules/3.16.1-xxxx-std-ipv6-64-vps"
> 
> ^ Already implies the kernel since the first message.  I thought the 
> provided information was replicable enough.
> 
> If someone wants to test this out, be my guest.

I'm just going to repeat my questions:

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

The initramfs-tools maintainers cannot address the bug without this
information.

> > 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
[...]
> 
> 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.

I.e. what this command asks for is an initramfs for the running kernel
version, called initrd.img-3.14-2-amd64.  You presumably wanted to build
it for kernel version 3.14-2-amd64, so you need to specify that on the
mkinitramfs command line.

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: