Install
Installing takes one USB stick, one network cable and about half an hour, most of it waiting. The installer asks one question and otherwise runs on its own. It wipes every fixed disk in the machine.
What you need
- A machine with a 64-bit Intel or AMD processor (x86_64) and UEFI or BIOS firmware, at least 4 GiB of memory and one disk of 40 GiB or more. Building widgets and apps with AI works on that too, see Build with AI. Mini-PCs built for offices suit it well. Most of them have a TPM 2.0 chip in the firmware, called Intel PTT or AMD fTPM, and the installer keeps the disk key in it. LosOS runs on x86_64 only. You cannot install it on an ARM machine, and in particular not on an Apple Silicon (M-series) Mac.
- A USB stick of 2 GiB or more.
- A wired network connection with internet access. The installer downloads the system it installs.
- A screen and keyboard for the machine, for the install only. After that the screen shows a banner with the box's address, and the box needs neither.
losos signs in with LosOS Login, like the web pages, so there is nothing to decide before you install and no key has to be on the stick. The terminal client shows how to sign in.
Steps
- Download the installer ISO and its
.sha256from the latest release and write it to the stick with balenaEtcher, Rufus in DD mode, ordd. - In the machine's firmware, either turn Secure Boot off or add the LosOS certificate next to Microsoft's, so the firmware can verify the stick. Don't delete Microsoft's certificates to make room. Secure Boot and signed media shows how. A new PC trusts only Microsoft's keys, so with Secure Boot on and nothing enrolled the firmware refuses the stick, sometimes without a message. The installed box needs Secure Boot off either way, because its own loader is not signed.
- Boot from the stick. While it starts it shows the LosOS logo, above the boot menu on a BIOS machine and alone on a UEFI one. Then a menu under the logo offers BIOS, UEFI or autodetect on the keys 1, 2 and 3, and takes autodetect after 30 seconds, so an unattended boot still installs. Autodetect picks the mode the stick itself was booted in, which is right for almost everyone. Install variants explains the choice.
- Wait. The installer finds every fixed disk, puts them in one encrypted volume, downloads the system and installs it, and the screen marks each step as it runs. On a machine with a TPM chip one step seals the disk key to it; without one the screen warns that the key is on the boot partition. Install variants explains what that means.
- When the screen says LosOS is installed, remove the stick and press any key to restart. After the restart the screen shows the salmon with a banner under it holding the box's address. Open that address in a browser on any computer on the same network and follow The first run.




Trying it in a virtual machine
The box runs in QEMU, virt-manager or VirtualBox. Two things to know:
- Give the VM an emulated TPM,
swtpm, if you want the TPM unlock path. Without one the box installs in keyfile mode, which also works. - The VM host usually does not resolve the box's
.localname. Use the IP address from the banner. Install in depth has the exact QEMU lines. For showing the box off there is also a ready-made demo disk image,losos-disk-qcow2, with no encryption and no installer.
With quickemu
The repository carries a quickemu
configuration, docs/vm/losos.conf. It gives the VM 4 cores, 8 GiB of memory and
a 64 GiB disk, UEFI firmware with Secure Boot off, and an emulated TPM, so the
installer seals the disk key the way it does on a mini-PC. The numbers are
above the minimum because the box runs LosOS Cloud and LosOS Git and
rebuilds itself every night onto the same disk.
- Install quickemu and
swtpm. - Download the installer ISO from a release and save it as
docs/vm/losos/losos-installer.iso. - Run
quickemu --vm docs/vm/losos.conf. The disk, the firmware variables and the TPM state are kept indocs/vm/losos/, so later boots find the sealed key. - When the installer says LosOS is installed, press a key to restart. The installer puts the box's boot loader first in the firmware's boot order, so the VM comes up from its disk. Later runs of quickemu leave the ISO out, because the disk is no longer empty.
- Open
http://localhost:8080on the host. quickemu forwards port 8080 to the box's port 80 and 8443 to 443.
quickemu needs hardware virtualisation, which is KVM on Linux, and refuses to start on a host without it.