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

Bug#716978: initramfs not setting up crypto

Ben Hutchings writes:
> On Mon, 2013-08-05 at 16:31 -0700, Matt Taggart wrote:
> > I think I am seeing the same bug reported in #716978...
> >=20
> > 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
> >=20
> > /lib/modules/3.2.0-4-amd64/kernel/crypto/
> >=20
> > 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.
> >=20
> > 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.

I used d-i rescue mode to mount the disks and switch from "dep" to "most" 
mode for update-initramfs and that pulled the crypto modules in. But now 
the problem is that the LVM tools aren't in the initramfs so it gets stuck 
at that point.

Matt Taggart

Reply to: