aboutsummaryrefslogtreecommitdiff
path: root/_posts/2019-3-4-FOG-Debian-installer-netboot.md
blob: 44ed3a0239ae81f38bfb29e0f18e1413f256b143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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`