[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partman wiki: recipe example for creating an encrypted LVM boot disk?



[Re-sent to the list]

On 14/09/2025 at 07:21, Harald Dunkel wrote:
Pascal Hambourg wrote:

What are you calling a nested GPT partition ?

Something like this:

{root@cecil:harri () 519} lsblk /dev/sde
NAME      MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sde         8:64   0 931.5G  0 disk
|-sde1      8:65   0  1023M  0 part  /boot/efi
|-sde2      8:66   0     1G  0 part  /boot
`-sde3      8:67   0 882.9G  0 part
   `-os    253:3    0 882.9G  0 crypt
     |-os1 253:4    0    32G  0 part  /
     |-os2 253:5    0    32G  0 part  swap
     `-os3 253:6    0 818.9G  0 part  /home

How do you create a partitionable encrypted volume ?
You can create a partition table but AFAICS the kernel does not read it. partx fails to add the partitions. partprobe can create device-mapper devices for the partitions, but they are not "real" partitions (even though lsblk says so) and it is not automatic.


Reply to: