411 REFERENCE · Wikibooks
LPI Linux Certification/LPIC2 Exam 201/Linux Kernel
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Panorama do Cenário
Kernel Components
Compiling a kernel
Patching a kernel
Customizing a kernel
Kernel Components
Overview
Description: Candidates should be able to utilize kernel components that are necessary to specific hardware, hardware drivers, system resources and requirements. This objective includes implementing different types of kernel images, identifying stable and development kernels and patches, as well as using kernel modules.
Key files, terms, and utilities include:
zImage
bzImage
Exercises
Compiling a kernel
Overview
Description: Candidates should be able to properly compile a kernel to include or disable specific features of the Linux kernel as necessary. This objective includes compiling and recompiling the Linux kernel as needed, implementing updates and noting changes in a new kernel, creating a system initrd image, and installing new kernels.
Key files, terms, and utilities include:
/usr/src/linux/
/etc/lilo.conf
make options (config, xconfig, menuconfig, oldconfig, mrproper zImage, bzImage, modules, modules_install)
mkinitrd (both Red Hat and Debian based)
make
Exercises
Patching a kernel
Overview
Description: Candidates should be able to properly patch a kernel for various purposes including to implement kernel updates, to implement bug fixes, and to add support for new hardware. This objective also includes being able to properly remove kernel patches from existing production kernels.
Key files, terms, and utilities include:
Makefile
patch
gzip
bzip
Exercises
Customizing a kernel
Overview
Description: Candidates should be able to customize a kernel for specific system requirements by patching, compiling, and editing configuration files as required. This objective includes being able to assess requirements for a kernel compile versus a kernel patch as well as build and configure kernel modules.
Key files, terms, and utilities include:
/usr/src/linux
/proc/sys/kernel/
/etc/conf.modules, /etc/modules.conf
patch
make
modprobe
insmod, lsmod
kerneld
kmod
Exercises