aboutsummaryrefslogtreecommitdiff
path: root/_posts/2019-3-4-FOG-Debian-installer-netboot.md
blob: 75655cc3fd53ce2c6193525bb56875d6d80d7b68 (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
---
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`