If you find that unused kernel files are being deleted, this guide will help you.
Let’s start by launching a new kernel.List all other old kernels using the dpkg command.Pay attention to the system disk space usage by running the df -H command.Remove any old unused kernels and run: sudo apt –purge autoremove.More Articles … • January 19, 2021
LVM and encrypted installations use a separate / boot partition. By default, the section can only contain four or five cores and fills up quickly. To prevent your / boot partition from filling up, you should configure automatic deletion of old kernels or periodically remove old kernels manually.
Changing the kernel that hosts packages on your system requires root commands. So please read RootSudo.
Removing old kernels is easy on a system that has enough free space on the root partition or on a separate boot partition. You can remove them manually or set up automatic updates to run automatically. If you receive or receive an error from the package management tool, manual uninstallation may not work until the problem is resolved. See the “Problems” section.
If You Like What We Do Here At TecMint, Here Are A Few Things To Consider:
TecMint is the fastest growing and most trusted community site where you can find allonline Linux articles, tutorials, and books. Millions of people visit TecMint! to view thousands of published articles available for FREE for everyone.
If you like what you are reading, buy us a coffee (or 2) as a thank you.
We are grateful for your continued support.
Method A (recommended For Debian Users)