Manual disk partitioning

When manually partitioning a disk, what partitions are recommended? What about swap partition?
fat32 /boot/efi - 1gb
ext4 /boot - 4gb
ext4 / - all

1 Like

What layout you use when doing manual partitioning is basically up to you. Requirements as far as partitions are much the same as Debian or any other Linux distro, i.e. the root partition must be on a UNIX filesystem like ext4, btrfs, or xfs, and if you are using a system with UEFI firmware, you must have a fat32 partition mounted to /boot/efi with the boot flag set.

You probably do not want to use a swap partition. Better to use a swap file on a LUKS encrypted disk, or no swap at all. swap-file-creator will automatically create an appropriately sized swapfile if the partition /var is on is LUKS-encrypted.

1 Like