Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot)

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:

  • Find out your current running kernel

  • Remove older kernels

  • Enjoy!

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/

时间: 2024-07-29 03:00:53

Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot)的相关文章

Ubuntu 11.10 (Oneiric)上编译带utrace补丁的内核 转

Ubuntu 11.10 (Oneiric)上编译带utrace补丁的内核 首先准备linux内核编译环境: sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge kernel-package sudo apt-get build-dep linux sudo apt-get install git-core libncurses5 libncurses5-dev lib

ubuntu 11.10 安装apache2 tomcat6

ubuntu 11.10 安装apache2 tomcat6 导读 Tomcat是Apache 软件基金会(Apache Software Foundation)的Jakarta 项目中的一个核心项目,由Apache.Sun 和其他一些公司及个人共同开发而成.由于有了Sun 的参与和支持,最新的Servlet 和JSP 规范总是能在Tomcat 中得到体现,Tomcat 5支持最新的Servlet 2.4 和JSP 2.0 规范.因为Tomcat 技术先进.性能稳定,而且免费,因而深受Java

Ubuntu 11.10 安装GMONE3,卸载 UNITY和UNITY 2D

Ubuntu 11.10安装GNOME3: 1)sudo apt-get install gnome-shell sudo apt-get install gnome-themes* (或者简单的选择 sudo apt-get install gnome-themes-standard) sudo apt-get install gnome-tweak-tool 2)sudo apt-get install gnome-session-fallback 卸载 UNITY和UNITY 2D: su

Ubuntu 11.10 Server下搭建Maven私服

安装Nexus服务的文档可以参考官方站点:http://www.sonatype.com/books/nexus-book/reference/install-sect-install.html 相关阅读: Ubuntu Maven安装与配置 http://www.codesky.net/Linux/2011-07/38964.htm 1.下载并安装Nexus在Ubuntu 11.10 server上,下载Nexus最新版本.和官方文档不一样的地方是,我将nexus放在了/usr而不是/usr/

【转】ubuntu 11.10(32位系统)下编译android源码

原文网址:http://www.cnblogs.com/dwayne/archive/2011/11/16/2251734.html 本文介绍在ubuntu 11.10系统下编译android 2.3.3源码,编译之前请确定上两篇文章(http://www.cnblogs.com/dwayne/archive/2011/11/16/2250732.html和http://www.cnblogs.com/dwayne/archive/2011/11/11/2245383.html)中所需的准备工作

[转]ubuntu 11.10 mini2440 qte4.6.3开发环境的建立

原文:http://blog.chinaunix.net/uid-26696487-id-3149316.html 环境:ubunt 11.10硬盘安装qt版本:qte4.6.3设备平台:mini2440交叉编辑器:4.4.31.将 qt-everywhere-opensource-src-4.6.3.tar.gz 压缩包解压为3份,分别编译 PC ,嵌入式 x86 和 arm 三个版本.2. 编译 PC 版:进入pc目录#./configure# gmake# gmake install 如果

Ubuntu 11.10不得不知的快捷键

Super(windows图标键) 敲击打开托盘 Super + A 打开应用程序托盘 Super + F 打开文件及文件夹托盘 Super + W 平铺模式列出所有窗口 Super + S 浏览模式,缩小所有工作区,让你管理窗口 Super + T 打开回收站 www.ahlinux.com Alt + Tab 在不同程序窗口间切换 Alt + F2 类似Windows下的Win + R组合键,在GNOME中运行应用程序 Alt + F4 关闭窗口 Alt + F5 取消最大化窗口 (恢复窗口

ubuntu 11.10 (64bit) install opencv 2.4.8 and run in Qtcreator

install gtk2+ sudo apt-get install libgtk2.0*sudo apt-get install cmake-qt-gui tar xzvf opencv-2.4.8.tar.gz mkdir build in the ~ dir the opencv-2.4.8 in the same ~ dir run cmake-qt-gui cd to the build dir run make if the error (2.4.8)error:   /opencv

Get back Typing Break in Ubuntu 12.04 & 11.10(转载)

转自:http://ubuntuguide.net/get-back-typing-break-in-ubuntu-12-04-11-10 Since Ubuntu 11.10 Oneiric, the typing break has gone away from “System Settings -> Keyboard”. It’s been split out into an app called DrWright. This tutorial shows how to install D