Compiling Kernel   «Prev 

Building and installing the Kernel and Modules

When you type this command, Linux compiles the kernel source code. Because you configured and created the dependencies, the new kernel will incorporate your preferences automatically into the build. The more monolithic your kernel is, the longer this command will take to execute.

Because building modules is a separate step from building the kernel, you must perform a make modules now. The more modular your kernel, the longer this command will take to execute.

Red Hat Enterprise Linux
Once the kernel is built, you need to copy the kernel and system map into the /boot partition. In this example, we are copying our 2.2.14 kernel, extra version 686v1.

Finally, make modules_install places the newly compiled modules into the /lib/modules directory hierarchy. Your new Linux kernel will load these modules when you reboot the system.