Red Hat Bugzilla – Bug 181595
grub not properly cleaned out on upgrade
Last modified: 2014-03-16 22:58:14 EDT
Description of problem:
After upgrading, my grub.conf has references to old kernels, even though they've
Version-Release number of selected component (if applicable):
Happened once, haven't tried.
Steps to Reproduce:
1. Install FC2. (2.6.5-1.358smp)
2. yum upgrade to the latest update kernel (now have 2.6.5-1.358smp and
3. Upgrade with anaconda. Now I only have 2.6.15-1.1948_FC5 installed.
title Fedora Core (2.6.5-1.358smp)
kernel /vmlinuz-2.6.5-1.358smp ro root=/dev/vg0/lv0 rhgb quiet
title Fedora Core-smp (2.6.10-1.771_FC2smp)
kernel /vmlinuz-2.6.10-1.771_FC2smp ro root=/dev/vg0/lv0 rhgb quiet
title Fedora Core-up (2.6.15-1.1948_FC5)
kernel /vmlinuz-2.6.15-1.1948_FC5 ro root=/dev/vg0/lv0 rhgb quiet
grub.conf only contains the last stanza.
No noise in upgrade.log. I suppose it's possible that the new-kernel-pkg
--remove calls got befuddled due to bug 181593.
Yeah, that would almost certainly make things confused.
This should be better now afaict