Jump to content
xboxboy

Best way to remove kernels and Grub entries?

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

You can safely remove the old kernels. If you are not booted in that old kernel, then your not using it.

Share this post


Link to post
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! :))

Share this post


Link to post
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! :))

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

Edited by grendal

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...