My blog

Mar 30, 2017 - 1 minute read

netboot

Howto netboot a computer to do a network install of Ubuntu. A screen and keyboard will still be needed for this unless you setup a preseed file

Setting up tftp server:

apt-get install tftpd-hpa 

Download the latest netboot.tar.gz image from http://cdimage.ubuntu.com/netboot/ and untar to /var/lib/tftpboot/netboot-17.10/

dnsmasq configuration

dhcp-host=12:34:56:78:ab:cd,set:pxe,1.1.1.1,new-pc
dhcp-boot=tag:pxe,netboot-17.10/pxelinux.0,server.name,1.2.3.4

Where server.name is the IP address of the tftp server This will give the computer with the mac address of 12:34:56:78:ab:cd and IP address of 1.1.1.1 and set the tag to pxe. Any host with a tag of pxe will be given the parameters specified on the following line