Ubuntu 12.04‎ > ‎

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

    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