博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot)
阅读量:5018 次
发布时间:2019-06-12

本文共 1324 字,大约阅读时间需要 4 分钟。

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.

 

原文:

转载于:https://www.cnblogs.com/veins/p/3718305.html

你可能感兴趣的文章
发布aar到jcenter
查看>>
ehcache memcache redis 三大缓存男高音_转
查看>>
[实变函数]1.2 集合的运算
查看>>
JavaPersistenceWithHibernate第二版笔记-第七章-005排序的集合(@org.hibernate.annotations.SortComparator)...
查看>>
浏览器加载、解析、渲染的过程
查看>>
校外实习报告(九)
查看>>
织梦DEDE多选项筛选_联动筛选功能的实现_二次开发
查看>>
12: xlrd 处理Excel文件
查看>>
前端面试题汇总(持续更新...)
查看>>
读《构建之法》第四章和十七章有感
查看>>
Selenium 入门到精通系列:六
查看>>
数据库中的外键和主键理解
查看>>
个人博客03
查看>>
Expression<Func<T,TResult>>和Func<T,TResult>
查看>>
文件缓存
查看>>
关于C语言中return的一些总结
查看>>
Linux 命令 - 文件搜索命令 locate
查看>>
ES的Zen发现机制
查看>>
【hibernate】1、Hibernate的一个注解 @Transient
查看>>
HihoCoder 1877 - Approximate Matching
查看>>