First we need to burn a SD card using Raspian Stretch Lite.
# After the image has been burned, enable ssh.
touch /Volumes/boot/ssh
Put the sd card in the pi, find the ip address of the pi, and remote into the pi with the default username and password.
# Once on the pi, do an update and upgrade
sudo apt-get update
sudo apt-get upgrade
# Install git
sudo apt-get install git
# Clone the pxe repo
git clone ~/https://github.com/gh0st/RPi-PXE-Server-1.git
# Assuming a thumb drive has been plugged in with the same folder structure as described in the above git repo mount the drive,
# and add the drive to fstab
# Before mounting an exfat disk, make sure to get the utils
sudo apt-get install exfat-fuse exfat-utils
# Get the UUID of the drive first
ls -la /dev/disk/by-uuid
mkdir -p /media/images
# Set pi as owner
sudo chown -R pi:pi /media/images
# Mount the drive
sudo mount /dev/sda1 /media/images -o uid=pi,gid=pi