4.1 installer LVM partitioning - hard to customize, missing space

  • After reach installer ctrl + alt + f2

  • Wipe disk and create partition using gdisk / fdisk (boot, lvm, and 128 GiB ext4)

  • boot (sda1) lvm (sda2) 128gib (sda3)

  • cryptsetup -c aes-xts-plain64 -h sha512 -s 512 --use-random -y -i 10000 luksFormat /dev/sda2

  • crypsetup luksOpen /dev/sda2 luks

  • pvcreate /dev/mapper/luks

  • vgcreate qubes_dom0 /dev/mapper/luks

  • lvcreate -n swap -L 4G qubes_dom0

  • lvcreate -T -L 20G qubes_dom0/root-pool

  • lvcreate -T -l +100%FREE qubes_dom0/vm-pool

  • lvs

  • lvcreate -V20G -T qubes_dom0/root-pool -n root

  • lvcreate -V( size in your vm pool )G -T qubes_dom0/vm-pool -n vm

  • mkfs.ext4 /dev/qubes_dom0/vm

back to installer gui with ctrl + alt + f6
setup everthing and in storage, refresh disk first and hit rescan, use custom click done.
reformat boot, root, swap, and leave qubes_dom0/vm.
proceed with installation, and you’re done with another 128gb untouched.
check my featured topic for detailed instructions.

yes

2 Likes