--- layout: post title: Using FOG to deploy debian netboot installer --- 1. Create directory: `mkdir -p /tftpboot/os/debian/x.x` 2. Get netboot and unpack `cd /tmp mkdir netboot cd /tmp/netboot wget http://ftp.nl.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/netboot.tar.gz tar -zxf netboot.tar.gz cd ./debian-installer/amd64 cp linux /tftpboot/os/debian/9.x/ cp initrd.gz /tftpboot/os/debian/9.x/ cd /tmp rm -rf ./netboot` 3. Create FOG menu entry Menu Item: os.debian9x Description: Debian Installer Parameters: `kernel tftp://${fog-ip}/os/debian/9.x/linux initrd tftp://${fog-ip}/os/debian/9.x/initrd.gz boot || goto MENU`