Platform · operations

Set up the device in the browser.

A rumahl OS device boots into a browser setup, not a console wizard. This page covers the UEFI image and the installer, the three setup steps, automatic, static and Wi-Fi networking, the default firewall, Secure Boot and A/B system updates.

10 min readUpdated 2 December 2026UEFI image · web setup · A/B updates

1. Flash the image

The real-hardware target is an x86-64 UEFI image with a read-only system partition and a persistent data partition. Build it with rumahl_x86_64_uefi_defconfig, then write the whole disk image:

flash the whole device
sudo platform-buildroot/image/flash.sh \
  build/uefi-output/images/rumahl-disk.img /dev/sdX --grow

--grow expands the data partition to fill the target. Back up anything on the device first; flashing erases it. Boot the device in UEFI mode. Secure Boot must be disabled for the current image because the boot chain is not signed.

The same medium is also the installer. Boot it from USB, open the setup page on the device and choose Install on this device in the welcome step. The installer writes a GPT disk with an ESP, two root slots and a fresh data partition, copies the running image into both slots, installs GRUB and reboots into the internal disk. Every file on the selected disk is erased; the installer refuses the disk it is running from and any disk smaller than 8 GiB.

2. First boot and the setup URL

The first-boot unit creates the persistent directories, device CA, TLS certificate and the TPM-sealed secret-store key when a TPM exists. It does not block the console waiting for input. Instead, the console and the login page show the addresses where setup is available:

console hint
https://<device-ip>/
https://rumahl.local/   (mDNS, when available)

Open the address in a browser. The certificate is device-generated and self-signed; accept it once. The setup page is available only while no account exists.

3. The three setup steps

1

Account

Create the first administrator. It becomes the device owner. The username must start and end with a letter or digit; the password is at least six characters. Inline errors stay next to the field and entered values are kept.

2

Network

The page reports the current DHCP or self-assigned address, gateway and DNS. Choose Scan for networks to join a Wi-Fi network: pick an SSID, enter the WPA passphrase and the device connects before setup continues. The same controls are in Settings → System → Network.

3

Device

Name the device. The name appears on the login screen and in the local network. Leave it empty to keep the first-boot default.

After Create device, the setup signs in automatically and opens the desktop with the first-run welcome. There is no second login. The welcome covers personalization, the Store and system updates; it can be replayed from Settings → System → About.

4. Network modes

ModeBehaviour
DHCPTried first. The device gets its address, gateway and DNS from the network.
Self-assignedIf no DHCP server answers, systemd-networkd assigns a tested 169.254.0.0/16 link-local address so the setup page stays reachable.
Wi-Fi (iwd)Scan and join from the setup page or Settings. The root broker writes the iwd profile with mode 0600; passphrases are never stored by the platform. Only printable-ASCII SSIDs without =, / or \ are accepted.
Static IPv4Set in Settings → System → Network. The platform validates the address, gateway, subnet and DNS and asks the privileged host-config broker to write the systemd-networkd configuration and reconfigure the interface.

Static configuration is an administrator action. The platform service never writes network files itself; the root broker owns the interface. A change can briefly drop the connection and is applied immediately.

5. Session lock and power

  • Lock in the quick settings hides the desktop. Unlocking asks for the account password again; the attempt is audited. The lock survives reloads and new tabs.
  • Restart and shut down require an administrator and a confirmation. They call the recovery host broker.
  • Sign out ends the session and clears the lock state for the next login.

6. Updates and recovery

System updates come from github.com/rumahl/rumahl with stable and beta channels. Releases publish a signed A/B bundle; the platform downloads it, an administrator confirms, and the root updater writes the inactive slot and its kernel.

1

Verify

The bundle manifest carries an Ed25519 signature over the version and both payload digests. Unknown keys, a modified manifest or a digest mismatch are rejected before anything is written.

2

Write the inactive slot

The running slot is never touched. The update writes the new root filesystem and bzImage into the other slot and sets next_entry in the GRUB environment block.

3

Boot and confirm

GRUB boots the new slot once. rumahl-boot-ok.service marks the boot successful after the platform and nginx start. If the new slot does not get that far, the second start switches back to the previous slot automatically.

The release workflow can only build the bundle as rumahl-update-<version>.tar.zst.unsigned; the signing key never reaches CI. A maintainer signs it offline with scripts/sign-system-update.sh and attaches the signed name. A release without that asset offers no in-place update.

7. Default firewall

The image loads an nftables policy at boot: every new inbound connection is dropped except loopback, established/related traffic, ICMP, DHCP, mDNS, HTTPS (443) and the per-installation app host ports. The privileged broker replaces the app_ports set whenever an app route is allocated or released. Container apps publish their declared ports on 127.0.0.1 only; LAN access goes through the authenticated nginx app host.

Verify the policy on the device with nft list ruleset and a LAN port scan. nginx has an ordering dependency on nftables.service, so the HTTPS listener never starts before the policy is loaded.

8. Secure Boot

Secure Boot signing is opt-in. A build with RUMAHL_SECURE_BOOT_KEY and RUMAHL_SECURE_BOOT_CERT signs the GRUB EFI binary and both slot kernels with sbsign and publishes the certificate on the ESP. Enroll that certificate in the firmware db to boot with Secure Boot enabled.

Settings → System → About reports the firmware state and whether the running image is unsigned, signed or enforcing. Without the key pair the image is unsigned and Secure Boot must stay disabled; GRUB does not enforce kernel signatures yet.

What is still missing

  • A supported hardware list and a graphical disk picker beyond the setup page; the installer runs from the flashed medium.
  • Secure Boot enforcement of kernel signatures and a TPM PCR policy.
  • Encryption of the data partition at rest.
  • Hardware acceptance of the installer, A/B rollback and the firewall.

Next