I have a patched /usr/share/initramfs-tools/scripts/local-top/cryptroot to work 
with a encrypted physical volume and root on lvm. The key is it runs _before_ 
lvm, thats the only major change, that and it doesn't call "/sbin/vgchange" but 
calls "lvm vgchange" (nothing should be calling "/sbin/vgchange" in the initrd, 
it doesn't exist.)

I'll attach the new cryptroot file, just drop that in 
/usr/share/initramfs-tools/scripts/local-top/ and you should be fine, well if 
your using edgy, if your using dapper get the deb i made to add cryptlvm 
support to the initrd at
http://eli.criffield.net/auto_crypted_lvm/cryptlvm-initramfs_1-1_i386.deb

I'm yet to see feisty load any crypted fs from the initrd, see bug 74432

If you want to install on an encrypted lvm from scratch see my post on 
ubuntuforums
http://ubuntuforums.org/showthread.php?t=293299

Eli Criffield

** Attachment added: "new cryptroot for mkinitramfs"
   http://librarian.launchpad.net/5248718/cryptroot

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to