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

Bug#716978: initramfs not setting up crypto



On Mon, 2013-08-05 at 16:31 -0700, Matt Taggart wrote:
> I think I am seeing the same bug reported in #716978...
> 
> I just did an install of wheezy using a d-i daily (updated today
> 2013-08-05). The root is md raid->crypt->lvm. Upon boot the initramfs
> started up the md raid devices properly, but failed to setup the crypto
> and dropped to an initramfs shell. When I poke around I see that
> 
> /lib/modules/3.2.0-4-amd64/kernel/crypto/
> 
> is lacking most of the crypto modules (including the xts/serpant/etc
> that my system needed). So I am unable to bring things up by hand
> either.
> 
> During the install, for the question about how much to include in the
> initramfs, I picked the "just what's needed by this system" answer,
> although I think that should have been OK.

I doubt we'll ever be able to get it completely right.  That option
should be warned against in general.  It is useful for machines with
limited memory or space for the initramfs (e.g. ARM systems where the
bootloader looks for it in a specific flash partition).  Otherwise it
just saves a fraction of a second of boot time, or fails to boot.

Ben.

-- 
Ben Hutchings
This sentence contradicts itself - no actually it doesn't.

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


Reply to: