Delete unnecessary kernel options from GRUB list in Ubuntu

Source: Internet
Author: User
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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.