/[fai]/people/h01ger/fai-kernels/README
ViewVC logotype

Contents of /people/h01ger/fai-kernels/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3535 - (show annotations) (download)
Fri Jul 7 12:52:31 2006 UTC (6 years, 11 months ago) by h01ger-guest
File size: 3072 byte(s)
- preparing fai-kernels 1.11
- removed 2.4 kernel builds
- therefore removed alpha support :(
1 README
2 ------
3
4 This package contains kernel packages for FAI (Fully Automatic
5 Installation). The kernels use a NFS mounted filesystem for the root
6 file system (called nfsroot, see also
7 /usr/src/linux/Documentation/nfsroot.txt ). The kernel supports both
8 boot protocols (BOOTP and DHCP) for getting its network information
9 (IP address, netmask, gateway, broadcast address).
10
11
12 Important note: The driver for the network card must be compiled into
13 the kernel. Do not use a kernel module for it. If you
14 got several NICs plugged into your box, the first one
15 the kernel finds will be used.
16
17
18 How to build a custom 2.6.X fai kernel
19 --------------------------------------
20
21 The fai-kernels package contains a 2.6.X kernel that supports both the
22 BOOTP and the DHCP protocol. You must enable one of the protocols by
23 adding the kernel parameter ip=bootp or ip=dhcp (see also nfsroot.txt of
24 the kernel sources).
25
26 If you need to compile a custom kernel, start with the config file from
27 the fai-kernels package.
28
29 # cd linux-source-2.6.16
30 # zcat /usr/share/doc/fai-kernels/config-2.6.16.gz >.config
31 # make menuconfig
32
33 When you've saved your kernel configuration, build the kernel package
34 using:
35
36 make-kpkg --rootcmd fakeroot --append-to-version -fai --revision 2 kernel-image
37
38 This will create the file kernel-image-2.6.16-fai_2_i386.deb,
39 which can be used by FAI. Copy this file to /usr/lib/fai/kernel
40 and specify it in /etc/fai/make-fai-nfsroot.conf
41
42 KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.6.16-fai_2_i386.deb
43
44 Then you can set up FAI calling fai-setup or rebuild the nfsroot with
45 the command make-fai-nfsroot.
46
47 Then you can build a new FAI boot floppy with
48
49 # make-fai-bootfloppy -f /tmp/fai-bootfloppy -d b
50
51 Note:
52
53 Prior to make-kpkg kernel-image, it may be useful to do a
54 make-kpkg clean
55 if a kernel as already been built in this directory, and its configuration
56 has been changed with make menuconfig.
57
58
59 How to save space on the boot floppy
60 ------------------------------------
61 If you need a smaller kernel image to fit on a floppy disk, you can
62 remove some network drivers, that you don't need for booting and
63 mounting the nfsroot. If you have a math coprocessor, disable the math
64 emulation (nearly 80k). Here's a list for kernel 2.4.24 with the size
65 of some drivers.
66
67 20144 8139too.o
68 21564 pcnet32.o
69 21868 3c505.o
70 21932 dl2k.o
71 25292 natsemi.o
72 34040 3c59x.o
73 50187 tulip.o
74 55796 tg3.o
75 62936 serial.o
76 66484 e100.o
77 74244 typhoon.o
78 84056 e1000.o
79 165343 sk98lin.o
80
81 The homepage for FAI is:
82
83 http://www.informatik.uni-koeln.de/fai/
84
85 ----------------------------------------------------------------------
86 Thomas Lange
87 Institut fuer Informatik mailto:lange@informatik.Uni-Koeln.DE
88 Universitaet zu Koeln
89 Pohligstr. 1 Telefon: +49 221 470 5303
90 50969 Koeln Fax : +49 221 470 5317
91
92 1024D/AB9B66FD AEA6 A8C1 BD8E 67C4 8EF6 8BCA DC13 E54E AB9B 66FD
93 ----------------------------------------------------------------------
94 Copyright (c) 2000-2005 Thomas Lange. All rights reserved.

  ViewVC Help
Powered by ViewVC 1.1.5