Some of the details of the PXE boot process vary depending on whether the target host is using legacy BIOS or UEFI firmware, and whether the boot process uses TFTP only or TFTP plus HTTP.
When you boot the target host, it interacts with the different servers in the environment to get the network adapter, boot loader, kernel, IP address for the kernel, and finally the installation script. When all components are in place, installation starts, as shown in the following illustration.
The interaction between the ESXi host and other servers proceeds as follows:
- The user boots the target ESXi host.
- The target ESXi host makes a DHCP request.
- The DHCP server responds with the IP information and the location of the TFTP server.
- The ESXi host contacts the TFTP server and requests the file that the DHCP server specified.
- The TFTP server sends the network boot loader, and the ESXi host runs it. The initial boot loader might load additional boot loader components from the TFTP server.
- The boot loader searches for a configuration file on the TFTP server, downloads the kernel and other ESXi components from the HTTP server or the TFTP server and boots the kernel on the ESXi host.
- The installer runs interactively or using a kickstart script, as specified in the configuration file.