Guides › Install
Start from the network
Start Sovereign OS over the network with PXE or UEFI HTTP boot, what an administrator sets up, and how to start a PC this way.
A PC can start Sovereign OS straight from a server on the local network, with no USB stick, disc or disk. This is called a network start (also network boot or PXE boot). It is useful when you install many PCs, or when a PC has no USB port you can use.
Starting one PC from the network is in every edition. Deploying many PCs from the organization's console is part of Enterprise. See Mass deployment.
Words used on this page
- PXE is the older way PCs start from the network. The PC asks the network for an address and a start file, then downloads it with a simple protocol called TFTP.
- UEFI HTTP boot is the newer way. The PC downloads its start file from a web address (a URL), which is much faster for large files.
- DHCP is the service on your network that hands out addresses. For a network start, it also tells the PC where to find the start file.
How a network start works
- The PC's firmware asks DHCP for an address and a start file.
- It downloads the Sovereign OS start-up program,
BOOTX64.EFI. - The start-up program downloads the system image,
SOVEREIGN.IMG, into memory. The image is a few hundred megabytes. - It checks the whole image against Kinode's signature, and then every file on it. If anything doesn't match, or the image is an older release than the start-up program, it refuses to start.
- Sovereign OS starts from memory and shows Try it, or install it., the same as from a USB stick.
For administrators: what to set up
Build or get the network start files. Building from the source with make netboot puts them in build/netboot/:
| File | What it is |
|---|---|
BOOTX64.EFI | the start-up program |
SOVEREIGN.IMG | the system image |
SOVEREIGN.SIG | the signed checksum of the image |
installer.iso | the full installer, for UEFI HTTP boot of the ISO |
Always serve SOVEREIGN.SIG in the same folder as SOVEREIGN.IMG. Without it the PC refuses the image, because TFTP and HTTP don't protect files on the way.
Then choose one of these setups.
PXE with TFTP
- Put
BOOTX64.EFI,SOVEREIGN.IMGandSOVEREIGN.SIGin your TFTP server's folder. - Set DHCP to name the TFTP server and
BOOTX64.EFIas the start file for 64-bit UEFI PCs. - The start-up program reads
SOVEREIGN.IMGfrom the same TFTP folder.
PXE with the image over HTTP (faster)
TFTP is slow for a large file. You can serve the image from a web server instead:
- Set up PXE as above.
- Put
SOVEREIGN.IMGandSOVEREIGN.SIGin a folder on a web server. - In the TFTP folder, next to
BOOTX64.EFI, create a text fileNETBOOT.TXTwith one line:url=http://followed by the web address ofSOVEREIGN.IMG, for exampleurl=http://192.168.1.10/netboot/SOVEREIGN.IMG. - The start-up program now downloads the image from that address.
In testing, the same image took about 3 minutes over TFTP and about 2 minutes over HTTP on an emulated PC. Real networks are usually faster.
UEFI HTTP boot
- Put the files in a folder on a web server.
- Set DHCP to give HTTP boot clients a start URL, using one of the two choices below.
- A URL ending in
BOOTX64.EFI. The start-up program then fetchesSOVEREIGN.IMGfrom the same web folder. - A URL ending in
installer.iso. The firmware downloads the whole installer into memory and starts it like a disc.
The firmware only uses an HTTP start URL when the DHCP offer carries the HTTPClient vendor class. A dnsmasq setup for a real network looks like this, one setting per line: dhcp-range=192.168.1.100,192.168.1.200, enable-tftp, tftp-root=/srv/netboot, dhcp-match=set:efi64,option:client-arch,7, dhcp-boot=tag:efi64,BOOTX64.EFI, dhcp-vendorclass=set:http,HTTPClient, dhcp-option-force=tag:http,60,HTTPClient and dhcp-boot=tag:http,http://192.168.1.10/netboot/installer.iso. Change the addresses to match your network.
For users: start a PC from the network
Your administrator will tell you if the network is set up for this.
- Connect the PC to the network with a cable. Most PCs only start from the network over a cable.
- Turn the PC on and tap the boot menu key. See the boot menu keys for your PC maker.
- Choose the network entry. Its name differs between PCs; it usually mentions the network, PXE, IPv4 or HTTP. Choose one that starts with UEFI.
- Wait while the PC downloads Sovereign OS. This can take a few minutes.
- The Try it, or install it. screen appears. Try Sovereign OS or install it as usual.
If there is no network entry in the boot menu, network start may be turned off in the firmware settings. It is often called Network Stack, PXE or Network Boot, and the names differ between models. Turn it on, save, and try again.
What is different from a USB stick
- The whole system is always copied into memory, so the PC needs more memory than when it starts from a stick. Network starts were tested with 4 GB.
- Keep my files on this USB drive isn't offered.
- The start options are fixed to the installer. Settings in
BOOTCFG.TXTother thanverboseare not used. - Installing works the same, and needs no network once Sovereign OS has started.
If something goes wrong
- The PC gets no address, or finds no start file. Check the DHCP settings and that the PC is on the same network as the server.
- The PC refuses the downloaded system. Check that
SOVEREIGN.SIGsits next toSOVEREIGN.IMGand that both come from the same build. The start-up program also refuses a release older than itself. - The download is very slow. Serve the image over HTTP with
NETBOOT.TXT, or use UEFI HTTP boot. - Other start problems. See Boot problems.
Still stuck? Search the help center or contact support.