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. Jquery6 DOM 节点操作

    学习要点: 1.创建节点 2.插入节点 3.包裹节点 4.节点操作 DOM 中有一个非常重要的功能,就是节点模型,也就是 DOM 中的“M”.页面中的元素结构就是通过这种节点模型来互相对应着的,通过这 ...

  2. keras安装配置指南【linux环境】【转】

    本文转载自:https://keras-cn.readthedocs.io/en/latest/for_beginners/keras_linux/#kerasmnist 本教程不得用于任何形式的商业 ...

  3. git重命名分支名

    git branch -m old_branch_name new_branch_name

  4. ideal开发工具环境设置

    ideal现在是很流行的一种java开发工具,不得不说,它真的很好用.当你使用的时候,需要设置环境. 首先,如果产生乱码,解决如下: 设置为UTF-8 如果项目是maven项目,设置如下: 也可以设置 ...

  5. 百度云如何免费扩容至2055G?

    百度云如何免费扩容至2055G? 上篇说到整一个新的百度账号,那么5G的百度云内存肯定满足不了我们收集癖的需求.那么就来了解一下怎么扩容吧. 主要是在手机端实现的 用这个新的百度账号在手机APP上登录 ...

  6. 转载:hdu 题目分类 (侵删)

    转载:from http://blog.csdn.net/qq_28236309/article/details/47818349 基础题:1000.1001.1004.1005.1008.1012. ...

  7. 阿里云centOS7.4 ftp连接不上的问题

    首先查看是开启21端口 选择ECS-->安全组-->配置规则 增加21端口配置 配置如下

  8. spring mvc: 多解析器映射(资源绑定视图解析器 + 内部资源[普通模式/]视图解析器)

    spring mvc: 多解析器映射(资源绑定视图解析器 + 内部资源[普通模式/]视图解析器) 资源绑定视图解析器 + 内部资源(普通模式)视图解析器 并存方式 内部资源视图解析器: http:// ...

  9. Mysql之explain调优

    Explain调优 使用explain语法,对SQL进行解释,根据其结果进行调优: MySQL 表关联的算法是 Nest Loop Join,是通过驱动表的结果集作为循环基础数据,然后一条一条地通过该 ...

  10. 《深入理解mybatis原理6》 MyBatis的一级缓存实现详解 及使用注意事项

    <深入理解mybatis原理> MyBatis的一级缓存实现详解 及使用注意事项 0.写在前面   MyBatis是一个简单,小巧但功能非常强大的ORM开源框架,它的功能强大也体现在它的缓 ...