Talk:Rootfs over encrypted lvm

From Funtoo
Revision as of 07:27, November 28, 2020 by Pnoecker (talk | contribs) (add notes about other known working systems)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.luks.uuid=luks-28c13191-etc-f4 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"