Author Recommendations

When you build a new kernel, leave the old one in place. If the new one is a different version, you won't have any problems with modules. If it is the same version, you might receive some error messages regarding modules, but they won't be fatal.

Follow these steps:

1.
Copy your new kernel to /boot as bzImage-<kernel-version> with this command:
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-`uname -r`
2.
Next, copy your System map similarly:
cp /usr/src/linux/System.map /boot/System.map-`uname -r`
3.
Edit your /etc/lilo.conf. Copy the current Linux stanza so that you have two identical stanzas that start image = and end append =.
4.
Modify the image = in the first stanza to point to your new kernel (/boot/bzImage-<kernel-version> ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.