Linux Remove excess kernel __linux

Source: Internet
Author: User

View the currently used kernel

#uname-r

2.6.18-194.26.1.el5

View the kernel installed in the system

#rpm-qa|grep kernel
Kernel-headers-2.6.18-194.26.1.el5
kernel-module-ntfs-2.6.18-128.el5-2.1.27-0.rr.10.11
Kernel-2.6.18-194.26.1.el5
Kernel-devel-2.6.18-194.el5
Kernel-2.6.18-194.el5
Kernel-devel-2.6.18-194.26.1.el5

To uninstall an extra kernel:

#yum Remove Kernel-2.6.18-194.el5

Loaded Plugins:fastestmirror
Setting up Remove Process
Resolving dependencies
--> Running Transaction Check
---> Package kernel.i686 0:2.6.18-194.el5 set to be erased
--> finished Dependency resolution

Dependencies resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
Kernel i686 2.6.18-194.el5 installed M

Transaction Summary
================================================================================
Remove 1 Package (s)
Reinstall 0 Package (s)
Downgrade 0 Package (s)

Is this OK [y/n]: Y
Downloading Packages:
Running Rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing:kernel 1/1

Removed:
kernel.i686 0:2.6.18-194.el5

complete!



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.