following:
zImage—This directive compiles the kernel, creating an
uncompressed file called zImage.
bzImage—This directive creates a compressed kernel image
necessary for some systems that require the kernel image to be under a
certain size for the BIOS to be able to parse them; otherwise, the new
kernel will not boot. It is the most commonly used choice. However,
the Ubuntu kernel compiled with bzImage is still too large to fit on a
floppy, so a smaller version with some modules and features removed
is used for the boot floppies. Ubuntu recommends that you boot from
the rescue CD-ROM.
bzDisk—This directive does the same thing as bzImage, but it
copies the new kernel image to a floppy disk for testing purposes. This
is helpful for testing new kernels without writing kernel files to your
hard drive. Make sure you have a floppy disk in the drive because you
will not be prompted for one.
- Run make modules to compile any modules your new kernel needs.
- Run make modules_install to install the modules in
/lib/modules and create dependency files. - Run make install to automatically copy the kernel to /boot, create
any other files it needs, and modify the boot loader to boot the new kernel
by default. - Using your favorite text editor, verify the changes made to
/etc/lilo.conf or /boot/grub/grub.conf; fix if necessary
and rerun /sbin/lilo if needed. - Reboot and test the new kernel.
- Repeat the process if necessary, choosing a configuration interface.
Over time, the process for configuring the Linux kernel has changed.
Originally, you configured the kernel by responding to a series of prompts for
each configuration parameter; this is the make config utility described
shortly. Although you can still configure Linux this way, most users find that
type of configuration confusing and inconvenient; moving back through the
prompts to correct errors, for instance, is impossible.
The make config utility is a command-line tool. The utility presents a
question about kernel configuration options. The user responds with a Y, N, M,
or ?. (It is not case sensitive.) Responding M configures the option to be