标签:style class tar ext color http
When you’re running Ubuntu and updating your system frequently, there is a high chance that older kernels that are no longer needed are still installed on your system. Over time, if these older kernels are not removed, precious hard disk space may be wasted and your system’s performance may suffer.
This brief tutorial will show you how to find out your current running kernel and how to remove older ones that are not being used by your system. This will help you free up some space and may also improve your system’s performance.
Objectives:
To get started, press Ctrl – Alt – T to open Terminal. When it opens, run the commands below to view your current running kernel.
uname -r
Next, take notes of your current kernel. DO NOT REMOVE THIS!
Next, type the command below to view / list all installed kernels on your system.
dpkg --list | grep linux-image
Next, find all the kernels that which number are lower than your current kernel. When you know which kernel to remove, continue below to remove it.
Finally, run the commands below to remove the kernel you selected.
sudo apt-get purge linux-image-x.x.x.x-generic
When you’re done, run the commands below to update grub2
sudo update-grub2
That’s all.
原文:http://www.liberiangeek.net/2011/11/remove-old-kernels-in-ubuntu-11-10-oneiric-ocelot/
Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot),布布扣,bubuko.com
Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot)
标签:style class tar ext color http
原文地址:http://www.cnblogs.com/veins/p/3718305.html