Jump to content

Best way to remove kernels and Grub entries?


xboxboy
 Share

Recommended Posts

As time goes by, and kernel updates get done, my boot menus get longer and longer.

 

It's time for me to learn how to remove unnecessary kernels and their associated friends.

 

I guess I can remove kernel entries in the grub menu through MCC and the boot section. I can use the GUI interface to remove old kernel, devs, nvidia driver rpms.

 

What about the actual kernels themselves? Hows best to remove them?

 

Or am I going the wrong way about all this?

Link to comment
Share on other sites

I would be a bit careful of removing any actual apparently unused kernels as there may be occasions when the libraries are accessed. As you rightly say the easiest way to clean the grub menu is via mcc. Just leave the entries you want. If you really wish to get rid of all excess baggage then a clean install may be the way to go.

Link to comment
Share on other sites

Yes, edit grub with Midnight Commander. Yes, use the package manager to remove unused kernels. Yes, shorten the menu. (It irritates me and I am not even looking at your menus! :))

Link to comment
Share on other sites

  • 3 weeks later...

Yes, edit grub with Midnight Commander. Yes, use the package manager to remove unused kernels. Yes, shorten the menu. (It irritates me and I am not even looking at your menus! :))

sorry, I will try to do better in your future.

Edited by grendal
Link to comment
Share on other sites

There is no need to manually remove grub entries. When you uninstall the old kernel packages, the package manager will remove the related grub entries automatically.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...