Chapter 31. PXE Network Installations

Chapter 31. PXE Network Installations

31.1. Setting up the Network Server
31.2. PXE Boot Configuration
31.2.1. Command Line Configuration
31.3. Adding PXE Hosts
31.3.1. Command Line Configuration
31.4. TFTPD
31.4.1. Starting the tftp Server
31.5. Configuring the DHCP Server
31.6. Adding a Custom Boot Message
31.7. Performing the PXE Installation

Red Hat Enterprise Linux allows for installation over a network using the NFS, FTP, or HTTP protocols. A network installation can be started from a boot CD-ROM, a bootable flash memory drive, or by using the askmethod boot option with the Red Hat Enterprise Linux CD #1. Alternatively, if the system to be installed contains a network interface card (NIC) with Pre-Execution Environment (PXE) support, it can be configured to boot from files on another networked system rather than local media such as a CD-ROM.

For a PXE network installation, the client's NIC with PXE support sends out a broadcast request for DHCP information. The DHCP server provides the client with an IP address, other network information such as name server, the IP address or hostname of the tftp server (which provides the files necessary to start the installation program), and the location of the files on the tftp server. This is possible because of PXELINUX, which is part of the syslinux package.

The following steps must be performed to prepare for a PXE installation:

  1. Configure the network (NFS, FTP, HTTP) server to export the installation tree.

  2. Configure the files on the tftp server necessary for PXE booting.

  3. Configure which hosts are allowed to boot from the PXE configuration.

  4. Start the tftp service.

  5. Configure DHCP.

  6. Boot the client, and start the installation.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.