Skip to content
LINUX · OPEN SOURCE · COMMUNITYIndependent editorial publication

Installing Debian over the Network with PXE

EthernetSwitch2
Illustrative photograph. Ethernet switch and cables, illustrative photograph from 2011. — Raysonho @ Open Grid Scheduler / Grid Engine; CC0 1.0. Source: https://commons.wikimedia.org/wiki/File:EthernetSwitch2.jpg

Installing Debian on a computer without convenient access to optical media was a practical problem in the early 2000s. Network boot offered a way to start an installer using another machine on the local network. This retrospective examines the approach in the context of Debian Woody, rather than reproducing an original article or offering obsolete installation commands.

Why network boot mattered

Administrators working with several computers could avoid preparing a separate disc for every system. A machine with compatible firmware could request boot information over Ethernet, receive a small initial program, and then load an installer. The method also helped with systems whose optical drives were missing or unreliable. The advantage was not that the network replaced every local resource: the installer still needed access to storage, a suitable kernel and a source of packages.

The roles of DHCP and TFTP

In a traditional PXE setup, the client obtains network information and the location of a boot program from a DHCP service. A TFTP service supplies the initial boot files. Once the bootloader runs, it can load a kernel and an initial RAM filesystem for the installation environment. The Debian installer then takes responsibility for hardware detection and the remaining installation stages. These roles are described in the project’s network installation overview.

Planning an installation safely

Network boot works best when the administrator controls the network and knows which systems are supposed to boot. On a shared network, introducing an additional DHCP server without coordination can disrupt unrelated devices. An isolated lab or a dedicated provisioning network makes it easier to test configuration and observe the boot process without affecting production equipment. Back up any data on the target computer before allowing an installer to partition a disk.

From Woody to modern installation media

Early x86 systems typically used legacy BIOS firmware. Current systems may boot with UEFI and enforce Secure Boot policies, so the correct installer image and firmware settings depend on the machine. Old Woody-era instructions should not be used to deploy a supported system today. The Debian PXE boot guide explains the components of network installation; consult the release-specific installation manual for current instructions. For historical background, see the Debian Woody installation experience.

Troubleshooting the boot path

Break the process into stages: confirm network connectivity, verify that the intended DHCP service responds, then check the boot file name and availability. A bootloader that runs but cannot locate a kernel indicates a different class of problem from a machine that never receives network settings. If the installer starts but cannot access packages, investigate the repository and network configuration rather than changing the firmware repeatedly. Keeping a record of each stage makes failures easier to reproduce.

Network installation remains useful because it separates the boot medium from the installation target. Its reliability depends on careful preparation, a supported release, and a controlled network. The historical interest of PXE in Debian was precisely this flexibility: a computer could begin a new installation without relying on a physical disc.

Return to homepage