IPXE
Jump to navigation
Jump to search
iPXE
Build
apt install gcc make git binutils perl liblzma-dev xz-utils mtools genisoimage syslinux cd /opt # git clone git://git.ipxe.org/ipxe.git git clone https://github.com/ipxe/ipxe.git cd ipxe/src make
# bootable iso: make bin/ipxe.iso # bootable usb: (dd if=bin/ipxe.usb of=/dev/sdX) make bin/ipxe.usb # build a chainloadable iPXE image make bin/undionly.kpxe # uefi make bin-x86_64-efi/ipxe.efi
Dependencies:
- gcc (version 3 or later)
- binutils (version 2.18 or later)
- make
- perl
- liblzma or xz header files
- mtools
- mkisofs (needed only for building .iso images)
- syslinux (for isolinux, needed only for building .iso images)
ref: https://ipxe.org/download
commands
iseq
iseq ${answer} Y && goto is_correct ||
inc
set idx:int32 0 inc idx
Chainloading other PXE Servers
set next-server 192.168.0.1 set filename boot/pxelinux.0 set netX/next-server ${next-server} set netX/filename ${filename} chain tftp://${next-server}/${filename}
ref: https://lists.ipxe.org/pipermail/ipxe-devel/2011-March/000504.html
ref: https://ipxe.org/settings