How Do I Remove Old Ubuntu Kernels?
Contents How Do I Remove Old Kernels from Ubuntu? the Procedure to Delete All Unused Old Kernels on Ubuntu Linux Version 18.04 and 20.04 Lts Is as Follows...
Contents
How do I remove old kernels from Ubuntu?
The procedure to delete all unused old kernels on Ubuntu Linux version 18.04 and 20.04 LTS is as follows:
- First, boot into a new kernel.
- List all other older kernel using the dpkg command.
- Note down system disk space usage by running the df -H command.
- Delete all unused old kernels, run: sudo apt –purge autoremove.
21 февр. 2021 г.
How do I remove unused Linux kernels?
Remove All Old Kernels Using the Command Line
The system scans for unused kernels and displays a summary of the files it wants to delete. It prompts you to confirm your choice to remove old kernels by pressing y and Enter to delete.