FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Since I started with Fedora, I have upgraded the kernel as the new ones came out. Now, when my system boots I see four different kernel options to choose from. As far as I can tell, the latest kernel I have is working just fine, so I have two questions to pose:
1. How long is "long enough" to determine that the new kernel is working just fine?
2. Once determining the new kernel is working, how do I safely and correctly remove the older ones?
1. When you think that the older kernel is no longer needed, then its the time to remove it .. basically for me, that mean regularly using the new kernel for a couple of weeks before I decided to remove the older kernel.
2. If you're using rpm to install the new kernel, you can use rpm -e to remove it .. eg:
$ rpm -e kernel-2.4.22-1.2115.nptl
Originally posted by wiraone 2. If you're using rpm to install the new kernel, you can use rpm -e to remove it .. eg:
$ rpm -e kernel-2.4.22-1.2115.nptl
I used up2date to update it. I assume this is the same?
Also, will 'rpm -e'ing the kernel also remove the entry from grub?
yes, seems to work very well too, most of the time you should still check over /boot/grub/grub.conf to check
btw about the trick wiraone told you:
if you didn't already know grep will look for words when a program pipes("|") its stout to it, works for commands like ls too
wiraone, all your responses did the trick! Thanks!
I have yet to reboot though to see if they are gone from the boot loader yet. I will post here for others interested when I do. I will also follow up with results from karlan's suggestion as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.