LPI Linux Certification/Reconfigure, Build & Install A Custom Kernel & Kernel Modules

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Weight: 3

Description:
Candidates should be able to customize, build and install a kernel and kernel loadable modules from source.

  • Key knowledge area(s):
    • Customize the current kernel configuration.
    • Build a new kernel and appropriate kernel modules.
    • Install a new kernel and any modules.
    • Ensure that the boot manager can locate the new kernel and associated files.
  • The following is a partial list of the used files, terms and utilities:
    • /usr/src/linux/*
    • /usr/src/linux/.config
    • /lib/modules/kernel-version/*
    • /boot/*
    • make
    • make targets: all, config, menuconfig, xconfig, gconfig oldconfig, modules, install, modules_install, depmod, rpm-pkg, binrpm-pkg, deb-pkg