Chapter 1. The Linux Kernel

Table of Contents

1.1. Kernel Concepts
1.2. The Modular Kernel
1.3. Routine Kernel Recompilation
1.3.1. Source Extraction
1.3.2. Kernel Configuration
1.3.3. Kernel Compilation
1.3.4. Installing a New Kernel
1.3.5. The Full Kernel Version
1.3.6. Initial Ramdisks
1.3.7. Optional
1.3.8. Re-installing LILO
1.4. Exercises and Summary

Prerequisites

Goals

1.1. Kernel Concepts

The two different types of Linux kernel are:

Monolithic

A monolithic kernel is one which has support for all hardware, network, and filesystem compiled into a single image file.

Modular

A modular kernel is one which has some drivers compiled as object files, which the kernel can load and remove on demand. Loadable modules are kept in /lib/modules.

Figure 1.1. Kernels

Kernels