2cbfa0065b3190ca9c6d2005b41e3995d6195ad4
[hdw-linux/hdw-linux.git] / doc / FAI
1 # hdw - linux FAI file
2
3 whats this?
4 -----------
5 explains how to setup a networked computer acting as dhcp/pxeboot/nfsroot fully
6 automated installation server to automate installing your favorite hdw-linux
7 distribution.
8
9 files:
10 ------
11
12 ./scripts/Create-FAI
13 ./doc/FAI
14
15 procedure
16 ---------
17
18         1) install mnimal nfsroot binaries
19            (as described in INSTALL chapter 2.)
20
21                 vi Config [enter default as a target, specify arch*]
22
23         note: default target is enough. you dont need to specify fai-server.
24               we are just going to install the nfsroot which will automate
25               the install process. fai-server is actually the target you will
26               need as a running system to have pxeboot/nfsutils and stuff.
27
28                 ./scripts/Helper -create_dist_files
29                 ./misc/hdw-tools/hdw-get dist-install /mnt/fai-root \
30                         ./distro/default
31
32         2) prepare nfsroot & mount ./fai dir via loopback for configurations
33
34                 ./scripts/Create-FAI /mnt/fai-root
35
36         4) adapt configs in ./fai (see chapter "fai config files")
37
38         3) edit the following files to match your needs, and restart services
39
40                 /etc/dhcpd.conf
41                 /etc/inetd.conf
42                 /etc/exports
43                 /tftpboot/pxelinux.cfg/{default,*}
44
45                 (have a look at chapter "fai server configuration")
46
47         4) pxeboot your install candidates and watch installation
48
49
50 fai config files
51 ----------------
52
53 fai server configuration
54 ------------------------
55
56 [to be continued]