However, rebuilding the Linux kernel, which was essential during the monolithic-only era, is unnecessary on many systems running Red Hat Linux today because
- Red Hat Linux now installs a kernel targeted to a system's particular processor
- Most hardware support is included by default
- When security issues emerge, Red Hat releases kernel updates promptly.
Securing your system by upgrading to a new Red Hat kernel is less involving than applying patches and building a new kernel and, therefore, is generally preferred.
You probably will not know whether or not you need to rebuild your kernel until you review what options the Linux kernel has.
As with many other facets of Linux, "because you can" is usually enough reason to rebuild your kernel. The next lesson prepares you to rebuild your kernel.
1) When you type make bzImage, Linux compiles the kernel source code.
2) Because building modules is a separate step from building the kernel, you must perform a make modules now.
3) 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
4)Finally make modules_install places the newly compiled modules into the /lib/modules directory hierarchy.