Skip to content

A safe way to delete/remove/clean old kernels on fedora.

License

Notifications You must be signed in to change notification settings

stevemats/kernel_cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fedora Kernel Cleaner

Description

Fedora kernel cleaner helps you to safely remove old kernels on fedora while rataining the latest kernel upgrade. One of the reasons that tends to make userds remove old kernels is due to a number of reasons with the main one having a limited disk space.

After fedora upgrade, when you restart the fedora operating system in your computer, you're usually prompted with a screen showing the number of kernels available. See screenshot below for an example:

old kernels

If you haven't upgraded your fedora to the latest stable version out of fear of losing data, refer to this guide => How To Safely Upgrade Fedora. If you don't have the fedora OS yet and would love to test it our, use this link to get one => Download Fedora

Kernel Cleaner Installation & Usage:

Below are the steps to follow in order to safely remove the old kernels in your system:

Step 1: Open terminal and type below command to become root user

$ su or $ sudo su

Step 2: Cloning the repository to be available in your local computer:

$ git clone https://github.com/stevemats/kernel_cleaner.git

Step 3: Change your current directory to the repo folder:

$ cd kernel_cleaner

Final Step 4: Make cleaner executable for only root user. More info:

$ chmod u+x kernel_cleaner.sh

Then remove old kernels with below command:

$ ./kernel_cleaner.sh

You'll be prompted with similar screen as one below, showing you the kernels to remove:

cleankerel

Result after completion:

kernelcleaer

About

A safe way to delete/remove/clean old kernels on fedora.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages