added support for lvm and encrypted lvm