How to pxe boot

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: PXE (Preboot Execution Environment) booting allows a computer to boot from a network server instead of a local drive. This is typically achieved by configuring the computer's BIOS/UEFI to prioritize network boot and ensuring a PXE server is available on the network with boot images.

Key Facts

What is PXE Booting?

PXE (Preboot Execution Environment) is a standardized method that allows a computer to boot up using its network interface card (NIC) rather than from local storage devices such as a hard drive or CD/DVD drive. This capability is particularly useful in enterprise environments for deploying operating systems to multiple machines simultaneously, setting up diskless workstations, or performing system recovery operations without the need for physical media on each computer.

How Does PXE Booting Work?

The PXE boot process involves a sequence of events coordinated between the client computer and network servers:

  1. Client Initialization: When a computer starts up and is configured for PXE boot, its NIC broadcasts a DHCP (Dynamic Host Configuration Protocol) discovery request on the network.
  2. DHCP Server Response: A DHCP server on the network receives this request. If configured for PXE, it not only assigns an IP address to the client but also provides crucial information, including the IP address of the PXE server and the name of the boot file the client should download. This is typically done using DHCP options 66 (boot server host name) and 67 (bootfile name).
  3. PXE Server Communication: The client uses the provided information to contact the PXE server. The PXE server, often running services like TFTP (Trivial File Transfer Protocol), serves the initial bootloader file to the client.
  4. Bootloader Execution: The client downloads and executes this bootloader. This bootloader is a small program responsible for fetching the rest of the necessary boot files, which could include kernel images, operating system installers, or diagnostic tools.
  5. Operating System/Environment Load: The client downloads the required files from the PXE server and proceeds to load the operating system, deployment image, or recovery environment. This entire process happens over the network, making it efficient for large-scale operations.

Prerequisites for PXE Booting

To successfully perform a PXE boot, several components and configurations are necessary:

Common Use Cases for PXE Booting

PXE booting offers significant advantages in various scenarios:

Troubleshooting Common PXE Boot Issues

Several issues can prevent a successful PXE boot:

By understanding the components and workflow involved, setting up and utilizing PXE booting can become a streamlined process for efficient IT management.

Sources

  1. Preboot Execution Environment - WikipediaCC-BY-SA-4.0
  2. PXE Protocol Overview - Microsoft Docsfair-use
  3. Network Booting with PXE - Red Hat DocumentationCC-BY-SA-4.0

Missing an answer?

Suggest a question and we'll generate an answer for it.