--- layout: post title: Using FOG to deploy debian netboot installer --- ### Create directory: `mkdir -p /tftpboot/os/debian/x.x` ### 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`` ### 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`