the procedure / five stages, one gate

Look. Verify. Stage. Confirm. Hand off.

The guided installer walks one path, and the destructive step cannot start until you type the exact identity of the disk it is about to erase. Every refusal below is enforced by the code, not by this copy.

( 01 )
Preflight - look, never touch

Scans Windows for firmware mode, Secure Boot state, BitLocker status, internal-disk layout, GPU vendor, Bluetooth input dependencies, and every USB drive with its exact model, size, bus type, and serial. Internal disks are listed as protected. The result is a private local report on your machine.

writes: preflight.json / preflight.md - nothing else
( 02 )
Verify the image

The installer requires a local Ubuntu 26.04 ISO and its SHA-256 sums file, and proves they match before anything moves. A failed checksum stops the flow - there is no continue-anyway.

refused if: ISO hash does not match the sums entry
( 03 )
Stage the handoff bundle

Generates the files you will want after the reboot: a next-boot checklist, a Bluetooth handoff note, the target manifest, and a first-boot bootstrap script. Files only - still nothing written to any disk.

writes: a folder of documents on Windows
( 04 )
The write gate

The destructive step. It accepts only removable USB targets, refuses boot and system disks, refuses unexpectedly large disks, and demands that you type the exact disk number and serial. A durable approval artifact is written before the first byte. After the write, the raw bytes on the stick are re-hashed and must equal the ISO hash.

token format: DiskNumber:Serial - typed by you, never pre-filled
( 05 )
Boot handoff - prepared, never forced

Three escalation tiers: restart into the Windows use-a-device menu, restart into UEFI firmware settings, or the per-vendor boot key with a guided manual path. The installer prepares each restart and asks - you perform it. If none of the tiers work on your hardware, it says so instead of pretending.

no boot-order change / no BCD edit / no firmware write

Feel the gate.

( illustration - the real gate lives in the installer, not in this page )

non-USB target"Target disk is not a USB disk. Refusing to write."
boot/system disk"Target disk is marked as boot/system by Windows. Refusing to write."
oversize target"Target disk is larger than the expected removable USB range (~70 GB cap)."
serial mismatch"Target disk serial mismatch. Expected '...', got '...'."
wrong token"ConfirmTarget must be 'DiskNumber:Serial'. Refusing to write."
checksum failurewrite never starts - the flow stops at stage two