Tftp+syslinux 6.x Building PXE system (EFI mode supported):
Apt-get Install Tftpd-hpaapt-get install make Gccapt-get install NASM uuid-devwget https://www.kernel.org/pub/linux/ Utils/boot/syslinux/syslinux-6.03.tar.gztar ZXFV syslinux-6.03.tar.gzcd Syslinux-6.03makemake Install
Non-EFI:
MKDIR/VAR/LIB/TFTPBOOT/BIOSCP-RV SYSLINUX-6.03/BIOS/CORE/PEXLINUX.0/VAR/LIB/TFTPBOOT/BIOS/CP-RV syslinux-6.03/ BIOS/COM32/ELFLINK/LDLINUX/LDLINUX.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/LIB/LIBCOM32.C32/ VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/LIBUTIL/LIBUTIL.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV SYSLINUX-6.03/BIOS/COM32/MENU/VESAMENU.C32/VAR/LIB/TFTPBOOT/BIOS/CP-RV syslinux-6.03/bios/com32/modules/ Pxechn.c32/var/lib/tftpboot/bios/mkdir/var/lib/tftpboot/bios/pxelinux.cfgvi/var/lib/tftpboot/bios/pxelinux.cfg /default
DEFAULT VESAMENU.C32
TIMEOUT 0
OnTimeOut bootlocal
PROMPT 0
Menu TITLE PXE Menu
Noescape 1
LABEL 1. Ubt14043-sda
Kernel Tftp://10.0.0.2/images/ubt14043-x86_64/linux
Append initrd=tftp://10.0.0.2/images/ubt14043-x86_64/initrd.gz ksdevice=bootif lang= Locale=en_US priority=critical Netcfg/choose_interface=em1 netcfg/dhcp_timeout=120 url=tftp://10.0.0.2/preseeds/ubt14043_sda.seed hostname= ShandtestG8 domain=spreadtrum.com
Endtext
: Wq
Mkdir/var/lib/tftpboot/preseeds (This directory has the Ubuntu seed file delegated)
DHCP pointing to file bios/pxelinux.0
Efi:
MKDIR/VAR/LIB/TFTPBOOT/EFI64CP-RV SYSLINUX-6.03/EFI64/EFI/SYSLINUX.EFI/VAR/LIB/TFTPBOOT/EFI64/CP-RV SYSLINUX-6.03/EFI64/COM32/ELFLINK/LDLINUX/LDLINUX.C32/VAR/LIB/TFTPBOOT/EFI64/CP-RV syslinux-6.03/efi64/com32/ LIB/LIBCOM32.C32/VAR/LIB/TFTPBOOT/EFI64/CP-RV syslinux-6.03/efi64/com32/libutil/libutil.c32/var/lib/tftpboot/ EFI64/CP-RV SYSLINUX-6.03/EFI64/COM32/MENU/VESAMENU.C32/VAR/LIB/TFTPBOOT/EFI6/CP-RV syslinux-6.03/efi64/com32/ modules/pxechn.c32/var/lib/tftpboot/efi64/cp-rv/var/lib/tftpboot/bios/pxelinux.cfg/var/lib/tftpboot/efi64/
DHCP pointing to file Efi64/pxelinux.efi
Tftp+syslinux 6.x Building PXE system (EFI mode supported)