Installing Peios
Single-page view · as markdown
Installer Interfaces
Peios / Installing Peios
Peios Installer separates the work that changes the machine from the interface that asks you questions. You can use a terminal or browser while the same service owns the installation conversation.
installerd selects and modifies disks. oobed creates the first account
and applies machine settings after installation. The services send questions,
progress, and results through the Multi-Surface Interaction Protocol
(MSIP), an independent protocol shared with their frontends.
The available interfaces have these roles:
| Task | Terminal | Browser |
|---|---|---|
| Fresh installation | install-tui | installer-gxwi |
| Upgrade or repair | install-tui | Not supported |
| First-boot setup | oobe-tui | oobe-gxwi |
The browser interfaces are GXWI overlays. Everyone who reaches the overlay sees the same conversation, without first signing in. Coordinate with other people using it and keep the machine on a trusted network until setup ends. Closing a browser or terminal does not cancel a running installation.
The interface process does not perform disk or account operations itself. Its configured identity still matters: the supplied first-boot terminal service runs as SYSTEM so it can reach setup before any administrator exists.
See Installing to Disk for a
fresh installation and Conversation Lifetime
for reconnect and failure behavior. Command details belong to
installerd(8), install-tui(1), installer-gxwi(1), and oobed(8).
Preparing a PC
Peios / Installing Peios
Use an x86-64 UEFI image appropriate for the machine and a USB device large enough for that exact image. Preserve needed data from both the USB device and the intended installation disk. Writing the medium and installing the system are two separate destructive operations.
Prepare and boot the medium #
Use a raw image-writing workflow, not a file copy onto an existing filesystem. Check the whole USB device by model, size, and resolved identity; unmount its filesystems before writing and wait for a successful flushed write. A stable name does not replace checking the target.
The live boot hook looks for a disk, disc, or stick holding the medium's ISO 9660 filesystem. A multi-image loader that merely exposes an ISO file is not established as supported. If the boot hook cannot find its medium, check the image write and device discovery before rewriting or changing firmware.
Choose the UEFI entry in the one-time boot menu. Check the image's signing instructions against firmware trust; a development image is not automatically trusted by Secure Boot. Record firmware changes, particularly storage-controller mode changes that could prevent another installed system from booting.
Keep the live system on an appropriate setup network: installation and pending first-boot surfaces can be available before ordinary user sign-in. Use the image's documented live credentials rather than assuming every image has the same account or password policy.
Confirm the machine before installation #
Check the detected storage controller, intended disk, and network state. An unreadable or unrecognized filesystem is not empty. A visible wireless interface does not prove a usable wireless connection; use the deployed network tool's supported configuration path.
If using a browser, verify its certificate fingerprint against a trusted local console before submitting sensitive information. Certificate transfer to the installed system is best-effort, so repeat that verification if the fingerprint changes after installation. A browser reconnect failure is not proof that the installation failed; verify the local boot and address.
Continue with Installing to Disk. For an existing installation to preserve, use the documented repair or upgrade workflow instead of fresh installation. Keep the medium connected through the job, then remove it before selecting disk boot. Returning to the installer can mean firmware selected the USB device again, not that another installation is required.
After disk boot, complete the image's first-boot setup and verify sign-in. Hardware reports are evidence for their exact image and configuration, not a general compatibility certification for every model sharing a brand name.
Installing to Disk
Peios / Installing Peios
Use the installer to replace a whole disk with Peios. The installation copies the medium's pristine system and creates the files needed to boot from that disk.
Before you start #
Prepare these prerequisites:
- A booted Peios installation medium appropriate for the machine.
- A backup of every file you need from the target disk.
- A way to identify the target by its device, model, and size.
- Access to the terminal interface or the medium's GXWI browser overlay.
Install the system #
- Select Install Peios on the first page.
- Select the target disk after checking its device, model, and size.
- Select Next to review the disk and the data that will be erased.
- Confirm the installation. In the browser, hold the confirmation button until its indicator completes.
- Wait for partitioning, formatting, copying, and boot preparation to finish. If a phase fails, read the reported error before retrying.
- Remove the installation medium when the machine is ready to boot from its disk, then use the offered restart action.
The installer refuses to partition a disk it finds mounted. The daemon's
--force option only permits replacement of an unrecognized partition
table; it does not bypass that guard or the confirmation page.
Check the result #
Confirm that the machine boots from the installed disk. An installation completion message reports that the job finished; it does not prove that firmware selected that disk or that the system booted successfully.
If the installed image includes first-boot setup, continue with Completing Setup. An image can instead provision accounts through its own configuration.
The browser saves job output through its log download. Keep that output if installation fails. Reconnecting to a running daemon can recover the conversation, but restarting the daemon loses its in-memory state.
Recovery and Upgrades
Peios / Installing Peios
The terminal installer can repair or upgrade a Peios system found on a disk. These operations have narrower purposes than a fresh installation; choose the operation that matches the fault.
Repair operations #
The repair flow provides three operations:
| Operation | Effect | Limit |
|---|---|---|
| Boot repair | Rebuilds the initramfs and unified kernel image from the installed system | Does not replace the system with the medium's release |
| Filesystem check | Runs a forced ext filesystem check with automatic safe repairs | Refuses a mounted target and can require a restart |
| Permissions repair | Replaces the root directory's security descriptor | Does not restore every explicitly set descriptor in the tree |
Repair changes the selected system. Back up recoverable data before using it. A filesystem check can report a fault it cannot repair automatically; read the job result before using the disk again.
The supported layout has an Extensible Firmware Interface (EFI) system partition followed by the root partition. Repair is not a general disk-layout reconstruction tool. It does not guarantee recovery from every failed installation or setup attempt.
Upgrading from a medium #
The upgrade flow compares the installed release with the release carried by the medium. It requires the same edition and a newer version it can order. The flow rejects an equal version, a downgrade, an edition change, or versions it cannot compare.
An upgrade reconciles packages against the medium and applies the installed system's upgrade seeds, then regenerates boot files. It preserves the installed machine's GXWI key rather than carrying the medium's key over.
Use install-tui(1) for either workflow. The graphical installer does not
render the later upgrade and repair pages and refuses to advance into them.
Installation Process
Peios / Installing Peios
A fresh installation builds a disk-based system from the installation medium. Understanding the stages helps distinguish a discovery problem from a failure after the target has already changed.
Discovering disks #
The daemon lists devices, partitions, and recognizable systems so you can
identify the target. When it inspects an unmounted filesystem, it uses a
read-only loop device. Ext filesystems also use the noload option to avoid
journal replay during inspection. An already mounted filesystem is read
through its existing mount.
To identify a Peios release, the daemon reads the closure the disk's package
store names SYSTEM: its edition from its os-release, and the edition's
version from its inventory. The name must name a closure in the store, and
the inventory and os-release must open as regular files; symbolic links and
special files are rejected. A system with no edition is named by its
closure's identity.
Unsupported or unreadable content is not proof that a disk is empty.
Creating the layout #
After confirmation, the daemon creates an Extensible Firmware Interface (EFI) system partition and a root partition using the remaining space. It formats the first as FAT32 and the second as ext4. The root filesystem receives its security descriptor during formatting, before normal access to the copied system begins.
This workflow replaces the whole disk. It does not configure disk encryption, a separate home partition, or another operating system's boot menu.
Composing the installed system #
The installed system is composed from the medium's packages, not copied from
the live session. The medium says what an installed system holds, in
/install/system.toml and /install/initramfs.toml. The daemon copies the
packages those need from the medium's store into the target's
/system/artifacts, builds them into two closures, and names them SYSTEM,
the installed system's /usr, and INITRAMFS, what its initramfs is built
from. The root's directories outside /usr come from the root skeleton file.
Changes made while running the installer, including live account changes,
don't reach the installed system.
The installer carries the medium's local policy and settles its registry seed queues. Seeds staged only for installation are promoted into the target queue; live-session provisioning is not copied as an instruction to repeat on every installed boot.
The GXWI key and certificate are carried from the live session. Their transfer preserves browser continuity when it succeeds, but installation is allowed to continue if that transfer fails.
Preparing disk boot #
The installer generates the kernel command line using the root filesystem's universally unique identifier (UUID), so a later device-name change does not select a different root by accident, and keeps the consoles the medium was booted with.
Boot preparation composes the initramfs from INITRAMFS and builds the
unified kernel image from it and SYSTEM's kernel, at the EFI fallback
location. It checks that the initramfs includes the disk root-mount hook and
excludes the live one. At boot, that hook mounts the root partition and
mounts the SYSTEM closure at /usr.
These checks validate generated content. Firmware selection and a successful boot still need to be observed on the target machine or a representative disposable guest.