Help! Slackware LVM + FullDiskEncryption
by linuxsl from LinuxQuestions.org on (#6JQEM)
Hi, I followed the README_CRYPT.TXT how-to to do an encrypted installation using lvm + UEFI + Cryptsetup...
Everything went fine, but there was a small problem, which I couldn't find anything about when searching.
I have 2 disks (nvme and ssd), and I want to "join" both with lvm. I did:
# sda1 for efi
cryptsetup -y luksFormat /dev/sda2
cryptsetup -y luksFormat /dev/sdb1
Would it be necessary to encrypt both disks? Or just sda2 and then insert it into pvcreate?
pvcreate /dev/mapper/lukssda2 /dev/sdb1
This is my doubt! Because after installation it doesn't upload the second disk, it's in fstab but I'm forced to mount it alone with cryptsetup luksOpen.
Everything went fine, but there was a small problem, which I couldn't find anything about when searching.
I have 2 disks (nvme and ssd), and I want to "join" both with lvm. I did:
# sda1 for efi
cryptsetup -y luksFormat /dev/sda2
cryptsetup -y luksFormat /dev/sdb1
Would it be necessary to encrypt both disks? Or just sda2 and then insert it into pvcreate?
pvcreate /dev/mapper/lukssda2 /dev/sdb1
This is my doubt! Because after installation it doesn't upload the second disk, it's in fstab but I'm forced to mount it alone with cryptsetup luksOpen.