Ubuntu 10.04 Remove the old kernel or the problematic kernel

Source: Internet
Author: User

1, view the current use of the kernel version information

Uname-a

should be unable to delete the current use of the kernel, I have not tried, want to try, the consequences of conceit.

2, list the installed kernel

Dpkg--get-selections|grep Linux 

Attention

linux-headers-

linux-image-

The version number that follows and what you see in 1

3, use Apt-get to remove the kernel that is no longer used

sudo apt-get remove linux-image-xxxxx
sudo apt-get remove linux-headers-xxxxx

Note that the version marked by XXXXX must not be the kernel version in use

4. See if you want to delete the startup item

sudo vim/boot/grub/grub.cfg

See if there are any kernel versions of the startup items that have been removed, and if so, delete

or use the command

sudo update-grub

Rebuild the System boot Menu

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.