当前位置: 首页 > news >正文

[Linux] Boot分区满了的处理方法 The volume boot has only 0 bytes disk space remaining

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

abby@abby:~$ uname -r
4.4.0-92-generic

 

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

abby@abby:~$ ls -lah /boot
total 347M
drwxr-xr-x  4 root root 3.0K 8月  29 02:13 .
drwxr-xr-x 24 root root 4.0K 8月  29 02:12 ..
-rw-r--r--  1 root root 1.2M 6月  14 20:24 abi-4.4.0-81-generic
-rw-r--r--  1 root root 1.2M 6月  27 03:45 abi-4.4.0-83-generic
-rw-r--r--  1 root root 1.2M 7月  18 23:00 abi-4.4.0-87-generic
-rw-r--r--  1 root root 1.2M 8月   1 06:25 abi-4.4.0-89-generic
-rw-r--r--  1 root root 1.2M 8月   8 21:58 abi-4.4.0-91-generic
-rw-r--r--  1 root root 1.2M 8月  10 19:02 abi-4.4.0-92-generic
-rw-r--r--  1 root root 1.2M 8月  12 07:40 abi-4.4.0-93-generic
-rw-r--r--  1 root root 186K 6月  14 20:24 config-4.4.0-81-generic
-rw-r--r--  1 root root 186K 6月  27 03:45 config-4.4.0-83-generic
-rw-r--r--  1 root root 186K 7月  18 23:00 config-4.4.0-87-generic
-rw-r--r--  1 root root 186K 8月   1 06:25 config-4.4.0-89-generic
-rw-r--r--  1 root root 186K 8月   8 21:58 config-4.4.0-91-generic
-rw-r--r--  1 root root 186K 8月  10 19:02 config-4.4.0-92-generic
-rw-r--r--  1 root root 186K 8月  12 07:40 config-4.4.0-93-generic
drwxr-xr-x  5 root root 1.0K 8月  29 02:13 grub
-rw-r--r--  1 root root 8.9M 7月  13 04:13 initrd.img-4.4.0-64-generic
-rw-r--r--  1 root root  37M 7月  13 04:13 initrd.img-4.4.0-81-generic
-rw-r--r--  1 root root  37M 7月  13 04:12 initrd.img-4.4.0-83-generic
-rw-r--r--  1 root root  37M 7月  25 02:52 initrd.img-4.4.0-87-generic
-rw-r--r--  1 root root  37M 8月   4 04:29 initrd.img-4.4.0-89-generic
-rw-r--r--  1 root root  37M 8月  12 08:19 initrd.img-4.4.0-91-generic
-rw-r--r--  1 root root  37M 8月  16 02:35 initrd.img-4.4.0-92-generic
-rw-r--r--  1 root root  37M 8月  29 02:12 initrd.img-4.4.0-93-generic
drwx------  2 root root  12K 1月   4  2017 lost+found
-rw-r--r--  1 root root 179K 1月  28  2016 memtest86+.bin
-rw-r--r--  1 root root 181K 1月  28  2016 memtest86+.elf
-rw-r--r--  1 root root 181K 1月  28  2016 memtest86+_multiboot.bin
-rw-------  1 root root 3.8M 6月  14 20:24 System.map-4.4.0-81-generic
-rw-------  1 root root 3.8M 6月  27 03:45 System.map-4.4.0-83-generic
-rw-------  1 root root 3.8M 7月  18 23:00 System.map-4.4.0-87-generic
-rw-------  1 root root 3.8M 8月   1 06:25 System.map-4.4.0-89-generic
-rw-------  1 root root 3.8M 8月   8 21:58 System.map-4.4.0-91-generic
-rw-------  1 root root 3.8M 8月  10 19:02 System.map-4.4.0-92-generic
-rw-------  1 root root 3.8M 8月  12 07:40 System.map-4.4.0-93-generic
-rw-------  1 root root 6.8M 6月  14 20:24 vmlinuz-4.4.0-81-generic
-rw-------  1 root root 6.8M 6月  27 03:45 vmlinuz-4.4.0-83-generic
-rw-------  1 root root 6.8M 7月  18 23:00 vmlinuz-4.4.0-87-generic
-rw-------  1 root root 6.8M 8月   1 06:25 vmlinuz-4.4.0-89-generic
-rw-------  1 root root 6.8M 8月   8 21:58 vmlinuz-4.4.0-91-generic
-rw-------  1 root root 6.8M 8月  10 19:02 vmlinuz-4.4.0-92-generic
-rw-------  1 root root 6.8M 8月  12 07:40 vmlinuz-4.4.0-93-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

 

转载于:https://www.cnblogs.com/bymo/p/7446927.html

相关文章:

  • keras卷积处理rgb输入_用Keras搭建卷积神经网络 以及 使用Colaboratory
  • android sdk manager安装地址_Creator | 配置Android发布环境
  • PHP的header()
  • android 组件化_Android组件化最佳实践ARetrofit
  • Java Servlet 缺点
  • invoke方法_PHP魔术方法
  • PV、UV、IP的区别
  • mysqld:表mysql.plugin不存在_详解MySQL Binlog解析工具--binlog2sql,基于表级别的数据恢复...
  • css的经典三栏式布局
  • mysql text字段导出_看完能涨工资的MySQL性能优化指南
  • python生成list_python 使用循环生成list
  • 关于vue中的nextTick深入理解
  • hashmap 遍历_你一般是怎么遍历HashMap的?
  • 团队名称:极限定理
  • 人工智能的三层基本架构_“人工智能”如何“深度学习”?
  • 3.7、@ResponseBody 和 @RestController
  • 78. Subsets
  • CSS魔法堂:Absolute Positioning就这个样
  • dva中组件的懒加载
  • Iterator 和 for...of 循环
  • JavaScript异步流程控制的前世今生
  • Linux Process Manage
  • MYSQL 的 IF 函数
  • Python - 闭包Closure
  • 分布式熔断降级平台aegis
  • 机器学习学习笔记一
  • 猫头鹰的深夜翻译:JDK9 NotNullOrElse方法
  • 每天一个设计模式之命令模式
  • 前端每日实战:70# 视频演示如何用纯 CSS 创作一只徘徊的果冻怪兽
  • 前嗅ForeSpider教程:创建模板
  • 如何抓住下一波零售风口?看RPA玩转零售自动化
  • 试着探索高并发下的系统架构面貌
  • 小程序滚动组件,左边导航栏与右边内容联动效果实现
  • #!/usr/bin/python与#!/usr/bin/env python的区别
  • #NOIP 2014# day.1 生活大爆炸版 石头剪刀布
  • (2009.11版)《网络管理员考试 考前冲刺预测卷及考点解析》复习重点
  • (arch)linux 转换文件编码格式
  • (C语言)字符分类函数
  • (java版)排序算法----【冒泡,选择,插入,希尔,快速排序,归并排序,基数排序】超详细~~
  • (二)c52学习之旅-简单了解单片机
  • (非本人原创)我们工作到底是为了什么?​——HP大中华区总裁孙振耀退休感言(r4笔记第60天)...
  • (附源码)计算机毕业设计SSM疫情居家隔离服务系统
  • (全注解开发)学习Spring-MVC的第三天
  • (数位dp) 算法竞赛入门到进阶 书本题集
  • (转)创业的注意事项
  • ***监测系统的构建(chkrootkit )
  • .net framwork4.6操作MySQL报错Character set ‘utf8mb3‘ is not supported 解决方法
  • .NET开源项目介绍及资源推荐:数据持久层
  • .Net转Java自学之路—基础巩固篇十三(集合)
  • /bin、/sbin、/usr/bin、/usr/sbin
  • /etc/fstab和/etc/mtab的区别
  • @ConfigurationProperties注解对数据的自动封装
  • [20160902]rm -rf的惨案.txt
  • [acwing周赛复盘] 第 69 场周赛20220917
  • [ArcPy百科]第三节: Geometry信息中的空间参考解析