Skip to content

Historical: Linux-based prototype

Installer failure and recovery

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

An installation that stops after the disk has been partitioned leaves a disk that is not a working system. The installer cannot bring back what was erased. It can clean up, retry some failures, and install again from the start. These cases were tested on disposable virtual disks.

Nothing is written until the request has been checked and the disk has been read one last time. Every refusal before that says “Nothing was written.” or is a rejected request. Virtual machine tests confirm it by checking that the virtual disks contain no data after all the refused requests.

Once partitioning starts, the previous content of the disk is gone.

Event Result What to do
A download breaks Failure, retryable. The target stays mounted Try again resumes
Google Chrome cannot be fetched or verified Failure, retryable Try again, or start over without Chrome
A package is corrupted or badly signed Failure. Unmounted, encrypted volume closed Install again
The disk runs out of space Failure. Unmounted Use a larger disk or fewer options
Cancel Stops at the next safe point. Unmounted and closed Install again
The installer backend stops Its mounts disappear with it Install again
Power is lost while packages install The disk does not boot Install again on the same disk
The installation succeeds Unmounted and closed, restart allowed Restart now or later

Retry resumes at the package stage of the current installation. It does not partition again. A partly downloaded file continues where it stopped, and virtual machine tests check this.

Cancel is noticed between steps and during package installation. A single external tool that is already running, such as the partitioning tool, finishes first.

The installer unmounts the new system and closes the encrypted volume:

  • after a successful installation;
  • after a failure that cannot be retried;
  • after Cancel;
  • before a new installation starts;
  • when the installer backend ends normally.

If the backend was stopped by force, its mounts are released, and an encrypted volume left open is closed when the backend starts again.

A half-installed disk is an ordinary eligible disk once nothing is mounted. The new run replaces its partition table. Virtual machine tests cut the power in the package stage, confirm that the disk does not boot, and then complete a new installation on the same disk.

The window wipes its copy of the disk passphrase when an installation starts. To install again with encryption on, return to the Encryption page and type the passphrase again.

A restart is allowed only after the installer has confirmed that the boot loader and the kernel image are present, and that all filesystems are unmounted and closed. Restart later is therefore safe.

  • There is no rescue mode, rollback or repair of an existing installation. A recovery system is a separate, planned item.
  • Erased data cannot be restored. Back up before using any installer.
  • A power cut was tested in the package stage only, not while partitioning or writing the boot loader.
  • If a new installation cannot release a stuck mount from an earlier attempt, it refuses to start.