On 08/28/13 at 05:30pm, Simon Thelen wrote:
> On 28/08/13 at 10:47, Bartłomiej Piotrowski wrote:
> > I guess it's trivial to fix, I usually overlook basic things...
> > 
> > I installed Arch on encrypted LVM without issues, but for some
> > reason initramfs doesn't ask for password to encrypted LVM and waits
> > for root device instead. I'm not sure where the problem lies --
> > configuration files[1] seem correct to me.
> First, your HOOKS array should have lvm2 before encrypt so that the
> initramfs can setup the root volume before it tries decrypting it.
> IE:
> HOOKS="base udev autodetect modconf block keymap lvm2 encrypt filesystems 
> keyboard fsck systemd"

This used to be the case.  But now the LVM2 is assembled via udev, so it does
not matter where in the order the lvm2 hook resides.

-- 
Curtis Shimamoto
sugar.and.scruffy [at] gmail.com

Reply via email to