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. center os7.2 apache+php+mysql环境配置并设置https访问

    本人阿里云购买的center os7.2系统,小程序只支持https,因此需要配置https 安装apache yum -y install httpd systemctl start httpd a ...

  2. delegate委托

    https://www.cnblogs.com/leicao/p/5251090.html 委托是一种存储函数引用的类型,在事件和事件的处理时有重要的用途 通俗的说,委托是一个可以引用方法的类型,当创 ...

  3. C#的switch case注意

    参数可以是 switch 语句中的 参数必须是一个整型或枚举类型,或者是一个 class 类型,其中 class 有一个单一的转换函数将其转换为整型或枚举类型. 所以用string也可以,6666

  4. 如何生成SSH key

    SSH key提供了一种与GitHub通信的方式,通过这种方式,能够在不输入密码的情况下,将GitHub作为自己的remote端服务器,进行版本控制 步骤 检查SSH keys是否存在 生成新的ssh ...

  5. poj-2259 team queue(数据结构)

    第一遍看的时候立即想到了哈希表. 再想时觉得两个队列,一个用来排队伍之间的顺序,一个用来排队伍内部成员的顺序即足够了. DEQUE的时候先判断哪只队伍排在队首,之后再让该队伍中的首队员出列. 整体没有 ...

  6. spark SQL学习(综合案例-日志分析)

    日志分析 scala> import org.apache.spark.sql.types._ scala> import org.apache.spark.sql.Row scala&g ...

  7. TSP - 状态压缩dp

    2017-08-11 21:10:21 艾教写的 #include<iostream> #include<cstdio> #include<cstring> #in ...

  8. SonarQube介绍及部署

    SonarQube介绍及部署 编写人:罗旭成 编写时间:2014-5-28 SonarQube简介 SonarQube是一个用于代码质量管理的开源平台(Java开发),用于管理源代码的质量,可以从七个 ...

  9. 好的Mysql 查询语句

    select swr.id,swr.name,swr.sort as type,count(swl.id) as nums,ifnull(sum(swl.package_num),0) package ...

  10. mysql数据库优化课程---14、常用的sql技巧

    mysql数据库优化课程---14.常用的sql技巧 一.总结 一句话总结:其实就是sql中那些函数的使用 1.mysql中函数如何使用? 选择字段 其实就是作用域select的选择字段 3.转大写: ...