• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

kernel upgrades

daniel49

Diamond Member
So just got another upgrade from yum for fedora core3
So now grubs shows 3 instances of fedora, one for the original install and one for first kernel update, and one for the second kernel update, plus one for win xp.
So this is kind of a dumb question I guess but do you guys let these selections just keep piling up. Or after your sure its stable, do you start removing old entries from grub or what.
Have only been playing with linux a couple months and I am up to 4 selections now on boot menu 🙂
 
Delete the old entires as you upgrade. Just make sure you test the new kernels out for stability before you wax the entries.

I usually in a dual boot circumstance, have

Linux (new kernel)
Linux (stable)
Windows

Forgot to mention, to clean out your old kernel sources when you are done with them.
 
so I do this simply by deleting that particular entry in grub.conf?
Are there no old kernel files that need cleaning up or does linux take care of that?
 
Yes deleting the entry in the grub.conf only gets rid of the reference for booting. You can still boot from from the old kernel later, unless you delete the old sysmap and kernel in /boot. You should also be able to delete the older sources from /usr/src/<older version>

There should be a symlink like /usr/src/linux that points to the current sources. If you did an rpm upgrade you should have that symlink update to the newer kernel already.
 
Originally posted by: TGS
Yes deleting the entry in the grub.conf only gets rid of the reference for booting. You can still boot from from the old kernel later, unless you delete the old sysmap and kernel in /boot. You should also be able to delete the older sources from /usr/src/<older version>

There should be a symlink like /usr/src/linux that points to the current sources. If you did an rpm upgrade you should have that symlink update to the newer kernel already.


ok, inside /boot I have config-original ver
initrd-original ver
systemmap-original ver
vmlinuz-original ver


all of the above first kernel update
and finally all of the above 2nd kernel update.

inside of /usr/src there are no files.

so if I delete the reference in grub to original and delete the config-orig,initrd-orig,system map-orig, and vmlinuz-orig.
that would be safe and all the cleanup that is necessary?
last 2 updates seem stable by the way.

 
If you have the old kernels installed you probably still have the old kernel packages in your RPM database, remove them and it'll remove the files and possibly the grub entries.
 
Back
Top