Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

This is basically a simple version of this guide here >> https://help.ubuntu.com/community/Installation/QuickNetboot.

Ubuntu PXE Netbook Images can be found here.

You want the link for the file named /netboot.tar.gz copy the link if you aren't installing 16.04 Server. That is the only difference to change distro's for this guide.

This assumes a tftp root of /srv/tftp.

sudo apt-get update && echo y | sudo apt-get install dnsmasq atftp && cd /srv/tftp/ && sudo wget "http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/netboot.tar.gz" && sudo tar -zxf netboot.tar.gz && sudo chown chown -R nobody: . && sudo nano /etc/dnsmasq.conf && sudo service dnsmasq restart && cd /tmp && echo 'get pxelinux.0' | atftp localhost

You should successfully download pxelinux.0 over tftp. This is a great way to find out if your clients will get that far!

DNSMasq Config :

enable-tftp
tftp-root=/srv/tftp
dhcp-boot=pxelinux.0
dhcp-option=3,
dhcp-option=6,

Read the linked guide for troubleshooting steps, they have some IPTable rules that you may need to implement!

  • No labels