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

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



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


Using LVM2 to partition the encrypted partition (instead of
GPT) the disk would look like this:

{root@cecil:harri () 547} 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
    |-vgusb-vgusbroot 253:4    0    32G  0 lvm   /
    |-vgusb-vgusbswap 253:5    0    32G  0 lvm   swap
    `-vgusb-vgusbhome 253:6    0 818.9G  0 lvm   /home


Reply to: