Skip to content

Historical: Linux-based prototype

Partitions and filesystems

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

In testingRecorded statusLast verified

The installer uses the whole chosen disk and creates exactly two partitions. The plan shown to the user and the real result come from the same definitions, with the systemd tool systemd-repart. It was tested with real dry runs and by installing onto virtual disks.

Partition Type Size Filesystem Encrypted
1 EFI system partition 1 GiB vfat Never
2 Linux root (x86-64) The rest of the disk ext4 Optional LUKS2, off by default

There is no separate home, swap or recovery partition. Home directories live on the root filesystem, where systemd-homed keeps each account’s encrypted home image.

The EFI partition is mounted at /boot with access for root only.

The installer makes a dry-run plan for the disk that was just checked and shows it. If the plan is not the expected two-partition layout, it is shown as a failure and blocks Continue.

An existing partition table is replaced. Nothing is kept or resized.

When encryption is switched on or off, the plan is made again.

The confirmed disk is checked once more before the partitions are written. The result is then checked against the same expected layout. If it does not match, the installation fails.

The root partition is found by its GPT type, following the Discoverable Partitions Specification. There is no fstab and no crypttab. The system asks for the passphrase at boot when the root is encrypted.

The EFI partition receives systemd-boot, its standard fallback loader, and one unified kernel image. EFI variables are written only if the live system itself booted with UEFI. An installed system is UEFI only, because systemd-boot and a unified kernel image are the only boot path it sets up.

  • Unit tests make a real dry-run plan for a 32 GiB test file, and check that the plan is right and that nothing was written. They also feed in plans that differ from the layout.
  • Virtual machine tests install both the encrypted and the plain layout and boot each disk alone under OVMF firmware.
  • No dual boot, no manual partitioning, no resizing, no choice of filesystem, no swap partition.
  • Only whole disks with simple device names are accepted.
  • The layout has been written only to virtual disks.