Ubuntu updates the kernel frequently and takes a long time. There is always a list of unused kernel options in the boot list. How to clear these projects? How to uninstall the related kernel and its occupied space resources? The method is very simple. You can remove the related package in the new version. Ubuntu will automatically update the grub list. Each kernel has four major packages: linux-headers-2.6.24-14linux-headers-2.6.24-14-genericlinux-restricte
Ubuntu updates the kernel frequently and takes a long time. There is always a list of unused kernel options in the boot list. How to clear these projects? How to uninstall the related kernel and its occupied space resources?
The method is very simple. You can remove the related package in the new version. Ubuntu will automatically update the grub list.
Each kernel has four major packages:
Linux-headers-2.6.24-14
Linux-headers-2.6.24-14-generic
Linux-restricted-modules-2.6.24-14-generic
Linux-Ubuntu-modules-2.6.24-14-generic
In addition, if you use virtualbox at the same time, you need to remove it:
Virtualbox-ose-modules-2.6.24-14-generic
Generally, after each kernel upgrade, I will retain the previous version (in case of any new kernel bug or compatibility issues, the old kernel can be used), and earlier kernels will be deleted manually.