iPXE README File
Quick start guide:
cd src make
For any more detailed instructions, see http://ipxe.org
For high-performance computer clusters the iPXE source can be built with the following options:
cd src make bin-x86_64-efi-sb/ipxe.efi CONFIG=metal
The provided cray-metal-ipxe RPM will install the compiled ipxe.efi
files
into /var/www/boot
. These will be owned by the UID of dnsmasq
, and the
GID of tftp
.
For more information, see the
README
insrc/config/metal
.
-
VLAN command
-
NTP command
-
TIME command
-
PCI_CMD command
-
REBOOT_CMD command
-
NEIGHBOUR command
-
CONSOLE command
-
IMAGE command
-
IMAGE_TRUST_CMD command
-
NSLOOKUP_CMD command
-
PING_CMD command
-
CONSOLE_FRAMEBUFFER command
The iPXE binary is unsigned, causing SecureBoot to fail where it is enabled and with working TPMs.
Compiled binary will dump NIC information:
iPXE 1.21.1+ (ga0824) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP VLAN AoE EFI Menu
====NIC DISCOVERY===================================
net0 MAC b8:59:9f:2b:2e:aa PCI.DeviceID 1013 PCI.VendorID 15b3
net1 MAC b8:59:9f:2b:2e:ab PCI.DeviceID 1013 PCI.VendorID 15b3
net2 MAC b4:2e:99:3b:70:56 PCI.DeviceID 1521 PCI.VendorID 8086
net3 MAC b4:2e:99:3b:70:57 PCI.DeviceID 1521 PCI.VendorID 8086
The script.ipxe
file will display a menu on a node that offers some debugging abilities.
Upon receiving the ipxe.efi
file the server will boot into the compiled menu. This menu offers some utility, and defaults
to chaining the next endpoint.
The final endpoint will load another script which handles uDev rules for interfaces. This helps facilitate booting by providing the kernel with inputs to setup exptected NICs ahead of time.
Below is a screenshot of the full flow of the metal iPXE configuration; the pre-boot menu, the boot menu, and a triggered error resulting in a fall-through to disk.
The menus have several options, they are explained below:
-
Append Kernel Parameters
: addsrd.cmdline=ask
to the kernel parameters, and prompts the user for more options to append. -
Configure Settings
: allows reconfiguration of the iPXE binary itself on-the-fly. -
Exit to BIOS
: dumps you to the system BIOS. -
Reboot
: reboots the node -
Enter iPXE Shell
: opens an iPXE command line, type exit to return to the menu -
Boot HPC Node
: will start linux