Delete old kernel Linux kernel in Ubuntu

Source: Internet
Author: User

Refer to this How to Remove the old (or new) kernels

http://ubuntuhandbook.org/index.php/2015/08/install-latest-kernel-script/

1. In Ubuntu with a graphical interface:

1.1 Installing synaptic Package Manager in Ubuntu Software Center

1.2 Deleting packages using Synaptic Package Manager:

    • Click the Reload button in the want to remove the new kernel.
    • Select Status-installed on the left pane to make search list clear.
    • Search linux-image- using Quick filter box.
    • Select a kernel image "Linux-image-x.xx.xx-generic" and mark for (complete) removal
    • Finally Apply changes

2. Under the Ubuntu Server environment:

2.1 uname-r  Get current kernel version 2.2 Dpkg-l | grep linux-image-    
    Dpkg-l | grep linux-headers-   Gets the name of the currently installed package
2.3 sudo apt-get autoremove kernel_image_name  replace Kernel_image_name with the name you obtained in step two to delete.

Be careful not to delete kernel that need to be preserved.

Delete old kernel Linux kernel in Ubuntu

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.