Compiling Kernel   «Prev  Next»
Lesson 1

Introduction to Compiling the Linux Kernel using Redhat Linux

Configuring and compiling the Linux kernel is a complex task. Unless you have a particular need to install a custom kernel, generally you will be better off upgrading the kernel using a newer Red Hat kernel.
However, if you do need to build your own kernel, the following lessons outline the process to configure and compile a customized kernel, and explore some of the decisions you will need to make to build your kernel. Some of the subjects we will touch upon other than the actual compilation steps include
  1. Modular versus monolithic kernels
  2. Build requirements, including necessary sources and files
  3. The modules required for compilation and their functions

Learning objectives

After completing this module, you will be able to
  1. Explain the differences between modular and monolithic kernels
  2. List available modules
  3. Load kernel modules
  4. Configure kernel modules
  5. List the advantages and disadvantages of building a custom Linux kernel
  6. Describe preliminary kernel-building procedures
  7. Configure kernel options before compilation
  8. Compile and install the kernel and modules
  9. Describe common post-installation procedures
  10. Use the LILO map installer to install first- and second-stage boot loaders
The next lesson describes kernel concepts.