From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
When installing a new kernel with e.g. 'rpm -ivh kernel-2.4.18-27.8.0',
/sbin/new-kernel-pkg removes the old kernel installed on the system.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -ivh kernel-2.4.18-27.8.0
2. reboot a bit later
Actual Results: The old kernel is gone.
Expected Results: The two kernel RPMs should be installed at the same time, as
before (RH 4.2 - 7.3).
Lines 75-79 of /sbin/new-kernel-pkg are below. 79 is the offending line for
grub; there's a similar one for lilo.
title="Red Hat Linux ($version)"
/sbin/grubby --add-kernel=$bootPrefix/vmlinuz-$version $INITRD \
--copy-default --title "$title" \
This could really screw things up if the new kernel were broken.
That line out of new-kernel-pkg removes any old kernels from the config title
which would have used the exact same title (which is based on the kernel
version). Are you sure you used -i instead of -U or -F?
Closing due to lack of activity. Please reopen if you have further information