Hmm, I don't think you really need to modify the scripts for 
LUKS - LVM PV - ROOT-ON-LVM configuration, if you use correct
parameters everywhere. 

My root command line is simply:
root=/dev/mapper/sys-root resume=/dev/mapper/sys-swap ro quiet

And crypttab contains following line:
sys             /dev/sda2               none            luks,lvm=sys-root

These work correctly with my setup using 1.0.4-8ubuntu1 from feisty,
while there still are following problems with this package:

- 2.6.19 kernel separated cbc to a different module, so I needed to add
cbc to hooks/cryptroot module loading function - this is trivial of
course

- I added same loops as the initramfs lvm script has to wait for device
nodes to appear - my SATA disk in AHCI mode takes a while to init and
the cryptroot script has already at that point failed miserably.

I'll add these changes as patches to this bug later

-- 
Support for encrypted root filesystem (cryptsetup)
https://launchpad.net/bugs/21878

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to