PXE Configuration Refer to PXE-Linux-Boot-Server on how to set up a PXE server before continuing.
Create a directory in your tftproot to store the pxelinux files and copy some files.
mkdir -p /tftproot/vmware/pxelinux.cfg cp /usr/share/syslinux/pxechn.c32 /tftproot/vmware/ This needs to be added to /tftproot/pxelinux.cfg/default for an entry to show up on your main boot screen.
LABEL vmwareesxi MENU LABEL ^VMWare ESXi COM32 /vmware/pxechn.c32 APPEND /vmware/pxelinux.0 -p /vmware/ For whatever reason, you can’t network boot VMWare ESXi with newer versions of SYSLINUX.
Installing Debian can be achieved by using booting your box from the network. This is how I set up my server to allow clients to boot from it.
PXE Configuration This needs to be added to your /tftproot/pxelinux.cfg/default file. Refer to PXE-Linux-Boot-Server on how to set up a PXE server.
label debianbuster-min-vm MENU LABEL ^Debian Autoinstall Buster Minimal VM LINUX /debian/buster/debian-installer/amd64/linux INITRD /debian/buster/debian-installer/amd64/initrd.gz APPEND vga=788 preseed/url=tftp://server/debian/preseed-buster-min-vm.txt debian-installer/locale=en_US debian-installer/country=US debian-installer/language=en debian-installer/allow_unauthenticated_ssl=true keyboard-configuration/xkb-keymap=us netcfg/get_hostname=debian netcfg/get_domain=local.
Install I use Gentoo Linux for my server so I used emerge to install the required server packages.
emerge tftp-hpa dhcp TFTP Configuration Edit your /etc/conf.d/in.tftpd file and uncomment one of the INTFTPD_PATH lines. You will then need to make the directory referenced in that variable. It will store all of your TFTP files used by your clients. We will refer to this as your tftproot in the rest of this article.