Thats pretty much what i came up with to get it working. except that theres no need to create symlinks to vgchange, it should instead call `lvm vgchange`, the lvm script does it incorrectly to by making symlinks.
And yeah it has to run _before_ lvm, it takes care of all the lvm stuff it self, having the lvm script in the initrd is redundant but doesn't hurt anything either. I'll attach my working /usr/share/initramfs-tools/scripts/local- top/cryptroot ** Attachment added: "working cryptroot in 7.04" http://librarian.launchpad.net/5404164/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