iPXE¶
Get Source¶
Get ipxe source
Next step create custom script
Custom ipxe¶
:!: Simple http server works just fine serving the ipxe.txt and kickstarts, but no HTTPS.
File: k2patel.ipxe
#!ipxe
echo Welcome to iPXE!
:retry_dhcp
dhcp || goto retry_dhcp
:bootup
echo #
echo ip ...................... : ${ip}
echo #
echo Booting from http://plainhttp.k2patel,in/ipxe/ipxe.txt
read test
chain http://plainhttp.k2patel.in/ipxe/ipxe.txt
prompt
shell
Create image¶
For ISO¶
:?: If you get error "make iso genisoimage: Uh oh, I cant find the boot image 'isolinux.bin'"
cd ipxe
wget https://mirrors.edge.kernel.org/pub/linux/utils/boot/syslinux/syslinux-6.03.zip
mkdir syslinux-6.03
cd syslinux-6.03
unzip ../syslinux-6.03.zip
cd src
make -j 4 ISOLINUX_BIN=../syslinux-6.03/bios/core/isolinux.bin \
LDLINUX_C32=../syslinux-6.03/./bios/com32/elflink/ldlinux/ldlinux.c32 bin/ipxe.iso EMBED=k2patel.ipxe