1.查看系统目前正在用的内核

abby@abby:~$ uname -r
..--generic

2.查看/boot保存的所有内核

abby@abby:~$ ls -lah /boot
total 347M
drwxr-xr-x root root .0K 8月 : .
drwxr-xr-x root root .0K 8月 : ..
-rw-r--r-- root root 1.2M 6月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 6月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 7月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 1.2M 8月 : abi-4.4.--generic
-rw-r--r-- root root 186K 6月 : config-4.4.--generic
-rw-r--r-- root root 186K 6月 : config-4.4.--generic
-rw-r--r-- root root 186K 7月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
-rw-r--r-- root root 186K 8月 : config-4.4.--generic
drwxr-xr-x root root .0K 8月 : grub
-rw-r--r-- root root 8.9M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 7月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
-rw-r--r-- root root 37M 8月 : initrd.img-4.4.--generic
drwx------ root root 12K 1月 lost+found
-rw-r--r-- root root 179K 1月 memtest86+.bin
-rw-r--r-- root root 181K 1月 memtest86+.elf
-rw-r--r-- root root 181K 1月 memtest86+_multiboot.bin
-rw------- root root 3.8M 6月 : System.map-4.4.--generic
-rw------- root root 3.8M 6月 : System.map-4.4.--generic
-rw------- root root 3.8M 7月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 3.8M 8月 : System.map-4.4.--generic
-rw------- root root 6.8M 6月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 6月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 7月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic
-rw------- root root 6.8M 8月 : vmlinuz-4.4.--generic

3.除了目前正在用的内核(4.4.0-92),把其它没有用的内核删除或者移到其它分区

abby@abby:~$ sudo mv /boot/*4.4.0-81* ~/backup/boot/

如果需要更多的空间,同理把4.4.0-83, 4.0.0-87等移除即可

参考:

[ubuntu] Boot Partition is Full

[Linux] Boot分区满了的处理方法 The volume "boot" has only 0 bytes disk space remaining的更多相关文章

  1. 调整Linux磁盘分区的大小的方法

      昨天数据入库时,一直报错,说磁盘满了,,df -h    一看,发现/目录下只有50G空间,已使用49G:我的程序和dbss都安装在/目录下,ftp到的数据放在/data下的一个子目录下,分解完的 ...

  2. linux根分区满了如何处理,查找大文件方法

    一:如果linux根分区使用量达到100%,会造成如下现象: root不能登录 系统不能正常启动 二:通过命令查找根分区内的大文件 du -sh /* 2>/dev/null | sort -h ...

  3. Linux磁盘分区UUID的获取及其UUID的作用

    注:UUID-Universally Unique IDentifiers全局唯一标识符 一.Linux磁盘分区UUID的获取方法 1.[san@localhost ~]$ ls -l /dev/di ...

  4. 关于ubuntu系统boot分区空间不足而又无法卸载旧内核的解决方法

    2016年09月03日 14:16:45 萧氏一郎 阅读数:7802 标签: ubuntuboot分区清理更多 个人分类: linux   版权声明:本文为本猿原创文章,转载务必注明出处,多谢. ht ...

  5. 灾难恢复-boot分区的恢复方法

    boot分区是系统启动中最重要的部分,如果服务器由于病毒攻击又或者被管理员误删除了boot分区.那么就会存在潜在的风险.为什么说是潜在的风险?因为boot分区被删除后系统仍在继续运行,看似无状况但是在 ...

  6. linux Boot目录满了之后的解决方法

    boot目录为什么会满? Linux默认分区时,boot分区就200多M,按理说也不小,足够了(实际也就几十M),但是内核经常性的升级,而且自己又不自动卸载,于是该目录下旧的内核文件越积越多,最后就满 ...

  7. 安装Ubuntu Linux系统时硬盘分区最合理的方法

    无论是安装Windows还是Linux操作系统,硬盘分区都是整个系统安装过程中最为棘手的环节,网上的一些Ubuntu Linux安装教程一般都是自动分区,给初学者带来很大的不便,下面我就根据多年来在合 ...

  8. Linux和Uboot下eMMC boot分区读写

    关键词:eMMC boot.PARTITION_CONFIG.force_ro等. 1. eMMC的分区 大部分eMMC都有类似如下的分区,其中BOOT.RPMB和UDA一般是默认存在的,gpp分区需 ...

  9. 怎么设置Linux swap分区?方法教程

    如何设置Linux swap分区 看到不少朋友问linux下swap分区的问题,收集到一篇 不错的文章 ,分享下. 什么是Swap?Swap,即交换区,除了安装Linux的时候,有多少人关心过它呢?其 ...

随机推荐

  1. [BZOJ4756]Promotion Counting

    Description The cows have once again tried to form a startup company, failing to remember from past ...

  2. Windows下安装mayavi2

    由于要使用mayavi2画三维图,但是没有找到二进制包,所以只能安装pythonxy或者canopy之类的版本,后来在http://www.lfd.uci.edu/~gohlke/pythonlibs ...

  3. mybatis的一对多

    1.配置文件 db.properties db.driver=com.mysql.jdbc.Driver db.url=jdbc:mysql://localhost:3306/demo?useUnic ...

  4. C# Page基础功能,用于各页面继承

    IBasePage.cs文件 /// <summary> /// 用于页面或用户控件 /// </summary> public interface IBasePage { / ...

  5. 《用 Python 学微积分》笔记 2

    <用 Python 学微积分>原文见参考资料 1. 13.大 O 记法 比较两个函数时,我们会想知道,随着输入值 x 的增长或减小,两个函数的输出值增长或减小的速度究竟谁快谁慢.通过绘制函 ...

  6. linux安装数据库删除

    https://blog.csdn.net/qq_40550973/article/details/80721014 卸载mysql .快速删除 yum remove mysql mysql-serv ...

  7. 使用iview--1

    在任意一个你想创建项目的路径下 每次输入就输一致的就可以 /*************************安装选项开始****************/ 回车再次回车就如下,输入Y 继续 回车,输 ...

  8. WebAPI项目 IHttpActionResult不识别解决办法

    转自:http://blog.csdn.net/nnnnnbody/article/details/16945253 使用ASP.NET Web API构造基于restful风格web service ...

  9. Java的序列化机制

    1. 所有实现序列化的类都必须实现Serializable接口,序列化有如下两个特点: 如果一个类可以被序列化,那么它的子类也可以被序列化 由于static代表类成员,trasient代表对象的临时数 ...

  10. Attribute 'items' must be an array, a Collection or a Map错误解决!

    唉!真的要说一句话叫做论一串代码的重要性!就是如此的气人!气的牙根痒痒! 前几天刚刚写过SpringMVC之ModelAndView的 jsp值在浏览页面不显示的问题!也是因为这一串代码,但是这一次一 ...