Andreas> the correct way would be something like pvdisplay and grepping for the volume group that contains the root fs.
After being hit by this and finding this bugreport I decided to do something about it. Attached is a patch that uses lvdisplay, pvs and sed instead of dmsetup and sed to find lvm dependencies. Only tested for lvm on luks. Will definitely not work for dm subsystems other than lvm (but as the function name is get_lvm_deps I don't think that was supposed to work anyway.) Also, it will happily ignore any regular devices (/dev/sdx) that lvm depends on, so if your lvm volume group is not encrypted, it will issue a warning, but will probably work anyway. ** Patch added: "cryptroot.diff" http://launchpadlibrarian.net/39751587/cryptroot.diff -- initrd on Karmic does not support multiple encrypted LVM physical volumes. https://bugs.launchpad.net/bugs/490917 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs