The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Talk:Rootfs over encrypted lvm
from centos virtual machine known working config:
lsblk says: sda1 type:part /boot/efi sda2 type:part /boot sda3 type:part
luks-28c13 type:crypt cl-root type:lvm / cl-swap type:lvm [swap]
grub.cfg strange set=root pointing to uuid of efi partition and set boot as uuid of boot partition.... & set default_kernelopts="root=/dev/mapper/cl-root ro crashkernel=auto resume=/dev/mapper/cl-swap rd.lvm.lv=cl/root rd.luks.uuid=luks-28c13191-etc-f4 rd.lvm.lv=cl/swap rhgb "
/etc/crypttab luks-28c13191-etc-f4 UUID=28c13191-etc-f4 none discard
/etc/fstab says /dev/mapper/cl-root / xfs uuid=omitted /boot uuid=omitted /boot/efi /dev/mapper/cl-swap swap swap
blkid says /dev/mapper/cl-root: type="xfs" /dev/mapper/luks-28c13191 TYPE="LVM2_member" /dev/sda3 TYPE="crypto_LUKS" /dev/sda1 type vfat /dev/sda2 /dev/mapper/cl-swap: TYPE="swap"