aboutsummaryrefslogtreecommitdiff
path: root/_posts/2019-3-4-FOG-Debian-installer-netboot.md
blob: c5bd4fc8a8cad9378a581666971b1aa2acdc3103 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
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`