LPI 102 Course Notes 3
1.3 Copyright notice .............................................................................................................12
1.4 GNU Free Documentation License.................................................................................12
2 Kernel modules.......................................................................................................................18
LPIC topic 1.105.1 — Manage/Query kernel and kernel modules at runtime [4]
2.1 Kernel modules................................................................................................................18
2.2 Module information.........................................................................................................19
2.3 Inserting modules............................................................................................................19
2.4 modprobe, modules.conf and depmod............................................................................21
2.5 Unloading modules..........................................................................................................22
2.6 Review.............................................................................................................................22
3 Rebuilding the kernel..............................................................................................................24
LPIC topic 1.105.2 — Reconfigure, build, and install a custom kernel and kernel
modules [3]
3.1 The kernel........................................................................................................................24
3.2 Obtaining the kernel .......................................................................................................25
3.3 Kernel patches.................................................................................................................27
3.4 Compiling a kernel..........................................................................................................27
3.5 Choosing options for your kernel....................................................................................29
3.6 Review.............................................................................................................................30
4 Booting Linux.........................................................................................................................34
LPIC topic 1.106.1 — Boot the system [3]
4.1 Kernel boot parameters...................................................................................................34
4.2 LILO................................................................................................................................36
4.3 GRUB..............................................................................................................................36
4.4 Boot messages.................................................................................................................37
4.5 Review.............................................................................................................................37
5 Change runlevels.....................................................................................................................39
LPIC topic 1.106.2 — Change runlevels and shutdown or reboot system [3]
5.1 init and telinit...................................................................................................................39
5.2 shutdown.........................................................................................................................40
5.3 inittab...............................................................................................................................40
5.4 Review.............................................................................................................................41
6 Print queues.............................................................................................................................43
LPIC topic 1.107.2 — Manage printers and print queues [1]
6.1 lpd, lpr, lpq and lprm.......................................................................................................43
6.2 Troubleshooting...............................................................................................................44
6.3 Review.............................................................................................................................45
7 Postscript.................................................................................................................................46
LPIC topic 1.107.3 — Print files [1]
7.1 What is postscript............................................................................................................46
7.2 mpage..............................................................................................................................47