PXE // Debian & Ubuntu & Kali

See PXE Setup for overall PXE instructions. This is Debian & Ubuntu specific.

Assuming apt-cache-ng as a proxy against the official repository

mkdir -p /tftpboot/bionic/
cd /tftpboot/bionic/
wget http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux
wget http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz

mkdir -p /tftpboot/kali/
cd /tftpboot/kali/
wget https://http.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
wget https://http.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz

vi /tftpboot/pxelinux.cfg/default

label ubuntu/bionic install
    kernel ../bionic/linux
    initrd ../bionic/initrd.gz
    append ipv6.disable=1 net.ifnames=0 biosdevname=0 vga=788 http_proxy=http://x.x.x.x:3142/
    #rescue/enable=true

label kali-rolling install
    kernel ../kali/linux
    initrd ../kali/initrd.gz
    append ipv6.disable=1 net.ifnames=0 biosdevname=0 vga=788 http_proxy=http://x.x.x.x:3142/

Kickstart

see kickstart

Resources

Ubuntu Netboot Images http://cdimage.ubuntu.com/netboot/

Index of boot-screens/ –> txt.cfg & adtxt.cfg http://ru.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/boot-screens/

NetBoot : installation par TFTP, PXE, DHCP https://doc.ubuntu-fr.org/netboot

Kali Linux Network PXE Install https://docs.kali.org/installation/kali-linux-network-pxe-install


Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml