Network Install Server for Ubuntu 12.04

This tutorial allows you to set up Ubuntu 12.04 Server as a network install server for Ubuntu distros.

    1. apt-get install tftpd-hpa
    2. cd /var/lib/tftpboot/
    3. wget -q http://mirror.anl.gov/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/netboot.tar.gz
    4. tar -zxvf netboot.tar.gz
    5. mkdir -p /var/lib/tftpboot/ubuntu/[distro]/[arch]
    6. cd /var/lib/tftpboot/ubuntu/[distro]/[arch]
    7. wget -q -r -nH -np --cut-dirs=10 -R index.html* http://mirror.anl.gov/ubuntu/dists/[distro]/main/installer-[arch]/current/images/netboot/ubuntu-installer/[arch]/
    8. nano /var/lib/tftpboot/pxelinux.cfg/default
              1. DISPLAY boot.txt
              2. default 1
              3. label 1
              4. menu label ^[distro] amd64
              5. kernel ubuntu/[distro]/amd64/linux
              6. append vga=normal initrd=ubuntu/[distro]/amd64/initrd.gz
              7. label 2
              8. menu label ^[distro] i386
              9. kernel ubuntu/[distro]/i386/linux
              10. append vga=normal initrd=ubuntu/[distro]/i386/initrd.gz
              11. prompt 1
              12. timeout 0
    1. nano /var/lib/tftpboot/boot.txt
              1. Boot Options
              2. =========
              3. 1. [Distro] amd64
              4. 2. [Distro] i386