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.
- apt-get install tftpd-hpa
- cd /var/lib/tftpboot/
- wget -q http://mirror.anl.gov/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/netboot.tar.gz
- tar -zxvf netboot.tar.gz
- mkdir -p /var/lib/tftpboot/ubuntu/[distro]/[arch]
- cd /var/lib/tftpboot/ubuntu/[distro]/[arch]
- 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]/
- nano /var/lib/tftpboot/pxelinux.cfg/default
- DISPLAY boot.txt
- default 1
- label 1
- menu label ^[distro] amd64
- kernel ubuntu/[distro]/amd64/linux
- append vga=normal initrd=ubuntu/[distro]/amd64/initrd.gz
- label 2
- menu label ^[distro] i386
- kernel ubuntu/[distro]/i386/linux
- append vga=normal initrd=ubuntu/[distro]/i386/initrd.gz
- prompt 1
- timeout 0
- nano /var/lib/tftpboot/boot.txt
- Boot Options
- =========
- 1. [Distro] amd64
- 2. [Distro] i386