Due to the frequent updates and upgrades of fedora, it is necessary to clear the old kernel as follows:
1. view the kernel packages installed in the current system:
[Root @ knityster ~] # Rpm-Qa | grep Kernel
Kernel-headers-2.6.32.12-115.fc12.i686
Kernel-firmware-2.6.32.12-115.fc12.noarch
Kernel-PAE-devel-2.6.32.11-99.fc12.i686
Kernel-devel-2.6.32.12-115.fc12.i686
Kernel-PAE-2.6.32.11-99.fc12.i686
Kernel-PAE-devel-2.6.32.12-115.fc12.i686
Kernel-PAE-2.6.32.12-115.fc12.i686
Kernel-devel-2.6.32.11-99.fc12.i686
Abrt-addon-kerneloops-1.0.9-2.fc12.i686
2. view the currently used kernel:
[Root @ knityster ~] # Uname-R
2.6.32.12-115. fc12.i686. PAE
3. Confirm the kernel to be deleted:
Here is: kernel-PAE-2.6.32.11-99.fc12.i686
4. Delete the kernel:
[Root @ knityster ~] # Yum remove kernel-PAE-2.6.32.11-99.fc12.i686 after deleting the old kernel there is no previous recovery mode boot item, if you want to join it will execute a grub update. The specific approach is grub2-mkconfig-O/etc/grub2/grub. cfg get it done.
Note:
We do not recommend that you copy the kernel package from anywhere on the Internet. Instead, you can use the rpm-e method to delete the kernel package. Instead, you can use Yum remove to delete the kernel package,
Because Yum remove is used to delete a file, yum is automatically removed:/Boot/GRUB/menu. lst.
Finally,
Check Availability of kernel-related software such as vmwae virtualbox.# Linux
Original article link: Click to open the link
The following describes how to delete the Debian series:
Uname-A # Use this command to view the Kernel used by the current system.
Dpkg -- Get-selections | grep Linux # list the current kernel. The kernel with image is installed.
Run the following command to uninstall the SDK:
Sudo apt-Get remove linux-image-2.6.24-11-generic # Where the linux-image-2.6.24-11-generic is the version number, complete.