Installation guide

252 Appendix A. Building a Custom Kernel
Boot image: /boot/vmlinuz-2.4.18-0.12-jul2001
Added linux-old
Writing boot sector.
Be sure the messages contains Writing boot sector. The * after linux means that the sec-
tion labeled linux is the default kernel that LILO will boot.
From now on, when the system boots you will see linux and linux-old as LILO boot op-
tions.
To boot the new kernel (linux) simply press [Enter], or wait for LILO to time out. If you
want to boot the old kernel (linux-old), select linux-old and press [Enter].
You can begin testing your new kernel by rebooting your computer and watching the mes-
sages to ensure your hardware is detected properly.
A.4. Building a Monolithic Kernel
To build a monolithic kernel, follow the same steps as building a modularized kernel, with
a few exceptions.
When configuring the kernel, do not compile anything as a module. In other words, only
answer Yes or No to the questions. Also, you should answer No to kmod support and
module version (CONFIG_MODVERSIONS) support.
Omit the following steps:
make modules
make modules_install
Edit lilo.conf to include the line append=nomodules or append the kernel line in
grub.conf with nomodules.
A.5. Additional Resources
For more information on the Linux kernel refer to these resources.
A.5.1. Installed Documentation
/usr/src/linux-2.4/Documentation Advanced documentation on the Linux kernel
and its modules. These documents are written for people interested in contributing to the
kernel source code and understanding how the kernel works.
A.5.2. Useful Websites
http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO.html The Linux
Kernel HOWTO from the Linux Documentation Project
http://www.kernel.org/pub/linux/docs/lkml/ — The linux-kernel mailing list.