[Encryption LVM on LUKS] Add the possibility to create a physical LVM volume
Created by: mhham
When creating a LUKS partition and mounting it, there should be an option to create a physical LVM volume (# cryptsetup open /dev/sdaX cryptolvm
then # pvcreate /dev/mapper/cryptolvm
from archwiki). Indeed it is not straightforward that the default mounting device of the LUKS partition will always be /dev/mapper/cryptroot
, and I had some trouble configuring GRUB to decrypt the correct partition at boot (using cryptdevice=UUID=device-UUID:cryptolvm root=/dev/mapper/MyVol-root
).
I ended up using cryptdevice=UUID=device-UUID:cryptroot root=/dev/mapper/MyVol-lroot
, which worked. But it is not straightforward, especially when you choose another name than cryptroot in the manjaro-architect installer