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

  1. The PC's firmware asks DHCP for an address and a start file.
  2. It downloads the Sovereign OS start-up program, BOOTX64.EFI.
  3. The start-up program downloads the system image, SOVEREIGN.IMG, into memory. The image is a few hundred megabytes.
  4. 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.
  5. 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/:

FileWhat it is
BOOTX64.EFIthe start-up program
SOVEREIGN.IMGthe system image
SOVEREIGN.SIGthe signed checksum of the image
installer.isothe 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

  1. Put BOOTX64.EFI, SOVEREIGN.IMG and SOVEREIGN.SIG in your TFTP server's folder.
  2. Set DHCP to name the TFTP server and BOOTX64.EFI as the start file for 64-bit UEFI PCs.
  3. The start-up program reads SOVEREIGN.IMG from 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:

  1. Set up PXE as above.
  2. Put SOVEREIGN.IMG and SOVEREIGN.SIG in a folder on a web server.
  3. In the TFTP folder, next to BOOTX64.EFI, create a text file NETBOOT.TXT with one line: url=http:// followed by the web address of SOVEREIGN.IMG, for example url=http://192.168.1.10/netboot/SOVEREIGN.IMG.
  4. 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

  1. Put the files in a folder on a web server.
  2. 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 fetches SOVEREIGN.IMG from 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.

Tip UEFI HTTP boot has not been tested in a virtual machine, because the built-in DHCP server of the test setup can't send the vendor class. PXE with TFTP and with HTTP has been tested.

For users: start a PC from the network

Your administrator will tell you if the network is set up for this.

  1. Connect the PC to the network with a cable. Most PCs only start from the network over a cable.
  2. Turn the PC on and tap the boot menu key. See the boot menu keys for your PC maker.
  3. Choose the network entry. Its name differs between PCs; it usually mentions the network, PXE, IPv4 or HTTP. Choose one that starts with UEFI.
  4. Wait while the PC downloads Sovereign OS. This can take a few minutes.
  5. 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.TXT other than verbose are 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.SIG sits next to SOVEREIGN.IMG and 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.