Difference between revisions of "Chainload iPXE using dnsmasq"
(Created page with "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 ...") |
|||
Line 6: | Line 6: | ||
Open a command line and navigate to the tftpboot folder: | Open a command line and navigate to the tftpboot folder: | ||
− | + | <pre> | |
cd /tftpboot | cd /tftpboot | ||
− | sudo mv /pxelinux.0.old pxelinux.0 | + | sudo mv /pxelinux.0.old pxelinux.0</pre> |
− | Now create a default file for pxelinux.0 to load: | + | Now create a default file for pxelinux.0 to load (you may substitute gedit for your favorite text editor): |
− | + | <pre> | |
sudo mkdir pxelinux.cfg | sudo mkdir pxelinux.cfg | ||
cd pxelinux.cfg | cd pxelinux.cfg | ||
− | sudo gedit default | + | sudo gedit default</pre> |
Now insert the following lines and edit the server ip address to reflect your own fog server: | Now insert the following lines and edit the server ip address to reflect your own fog server: | ||
− | + | <pre> | |
DEFAULT vesamenu.c32 | DEFAULT vesamenu.c32 | ||
LABEL fog | LABEL fog | ||
Line 24: | Line 24: | ||
kernel ipxe.krn dhcp && chain http://(fog-server-ip-address)/fog/service/ipxe/boot.php?mac=${net0/mac} | kernel ipxe.krn dhcp && chain http://(fog-server-ip-address)/fog/service/ipxe/boot.php?mac=${net0/mac} | ||
PROMPT 0 | PROMPT 0 | ||
− | TIMEOUT 01 | + | TIMEOUT 01</pre> |
Revision as of 18:49, 19 March 2014
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. We need to rename it to meet the naming scheme set forth by dnsmasq, but the file still exists.
Open a command line and navigate to the tftpboot folder:
cd /tftpboot sudo mv /pxelinux.0.old pxelinux.0
Now create a default file for pxelinux.0 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 LABEL fog MENU DEFAULT kernel ipxe.krn dhcp && chain http://(fog-server-ip-address)/fog/service/ipxe/boot.php?mac=${net0/mac} PROMPT 0 TIMEOUT 01