Installation guide
Chapter 23. Upgrading the Kernel 209
To configure GRUB to boot the new kernel by default, change the value of the default
variable to the title section number for the title section that contains the new kernel. The
count starts with 0. For example, if the new kernel is the second title section, set default to
1.
You can begin testing your new kernel by rebooting your computer and watching the mes-
sages to ensure your hardware is detected properly.
23.5.2. LILO
If you selected LILO as your boot loader, confirm that the file /etc/lilo.conf contains an
image section with the same version as the kernel package you just installed:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/message
linear
default=linux
image=/boot/vmlinuz-2.4.18-0.12
label=linux
initrd=initrd-2.4.18-0.12.img
read-only
root=/dev/hda5
The kernel RPM package activates the changes by running the command /sbin/lilo.
To configure LILO to boot the new kernel by default, set the default variable to the value
of label in the image section for the new kernel. You must run the /sbin/lilo command
as root to enable the changes. After running it, you will see output similar to the following:
Added linux *
The * after linux means that the section labeled linux is the default kernel that LILO will
boot.
You can begin testing your new kernel by rebooting your computer and watching the mes-
sages to ensure your hardware is detected properly.