Closed KevinMKorb closed 10 years ago
Nevermind. I was being a dummy and supplying the options on the initrd= line instead of the kernel command line.
for future reference, this should be easly handled, simple "root=/dev/sda1 luks enc_root /dev/sda2 lvm"
assuming hat sda2 is your lvm pv, it will mount in unencrypted form sda2 as enc_root and lvm will pick it as pv, rest should be transparent.
Is it possible to support /usr being stored in luks encrypted lvm2 pv but / being a plain partition or md raid1?
I tried specifying an enc_root= for the pv but without the root= being part of that there doesn't appear to be any attempt to open the luks.
At the rescueshell I can luksopen and pvscan then my /usr is mountable.