Chainload iPXE using dnsmasq

From FOG Project
Revision as of 17:25, 20 March 2014 by Jaymes-driver.3582 (talk | contribs) (Setup and Configuration)
Jump to: navigation, search


This information pertains to FOG 0.33 and the new iPXE boot method.


In order to continue to use dnsmasq to dole out ip addresses and to help find the boot file, some changes need to be made to force the boot file to load the iPXE boot file.

The old pxelinux.0 file is still included in the fog installation as pxelinux.0.old but this file has been replaced bay a new file called undionly.kpxe. We will use this file in place of the pxelinux.0 file when setting up our ltsp.conf file.

Setup and Configuration

Because pxe boot looks for files that match a query of names, we are going to create a file for it to find every time it queries for the default file.

First create a default file for undionly.kpxe to load (you may substitute gedit for your favorite text editor):

sudo mkdir pxelinux.cfg
cd pxelinux.cfg
sudo gedit default

Now insert the following lines and edit the server ip address to reflect your own FOG server:

DEFAULT vesamenu.c32
    kernel ipxe.krn dhcp && chain http://(fog-server-ip-address)/fog/service/ipxe/boot.php?mac=${net0/mac}

Save your files and restart your dnsmasq service with the following command:

sudo service dnsmasq restart


Junkhacker, jbsclm,