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. 打开Mac OSX原生的NTFS功能

    插上磁盘 从finder或者使用以下命令查看到磁盘的Volume Name: diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID ...

  2. MySQL—记录的增删改查操作

    1.插入记录: 方法一:INSERT [INTO] tbl_name [(col_name,···)] {VALUES|VALUE} ({expr |DEFAULT},···),(···),··· 例 ...

  3. HDU 3594 Cactus(仙人掌问题)

    http://acm.hdu.edu.cn/showproblem.php?pid=3594 题意: 一个有向图,判断是否强连通和每条边只在一个环中. 思路: 仙人掌问题. 用Tarjan算法判断强连 ...

  4. 关于Visual Studio 2010自动添加头部注释信息

    作为一个万年潜水党,不关这一篇文章技术含量如何,也算是一个好的开始吧.   在日常的开发中我们经常需要为类库添加注释和版权等信息,这样我们就需要每次去拷贝粘贴同样的文字,为了减少这种重复性的工作,我们 ...

  5. poi 取excel单元格内容时,需要判断单元格的类型,才能正确取出

    以下内容非原创,原文链接http://blog.sina.com.cn/s/blog_4b5bc01101015iuq.html ate String getCellValue(HSSFCell ce ...

  6. url 、src 、href 的区别

    url.href.src 详解 现自己居然没把url.href.src关系及使用搞清楚,今天就理一下.主要包括:url.src.href定义以及使用区别. URL(Uniform Resource L ...

  7. ZooKeeper原理 --------这可能是把ZooKeeper概念讲的最清楚的一篇文章

    相信大家对 ZooKeeper 应该不算陌生,但是你真的了解 ZooKeeper 是什么吗?如果别人/面试官让你讲讲 ZooKeeper 是什么,你能回答到哪个地步呢? 我本人曾经使用过 ZooKee ...

  8. 搞懂分布式技术28:微服务(Microservice)那点事

    搞懂分布式技术28:微服务(Microservice)那点事 微服务(Microservice)那点事 肥侠 2016-01-13 09:46:53 浏览58371 评论15 分布式系统与计算 微服务 ...

  9. 14.并发容器之ConcurrentHashMap(JDK 1.8版本)

    1.ConcurrentHashmap简介 在使用HashMap时在多线程情况下扩容会出现CPU接近100%的情况,因为hashmap并不是线程安全的,通常我们可以使用在java体系中古老的hasht ...

  10. Day34 设计模式

    参考博客: http://www.cnblogs.com/alex3714/articles/5760582.html 什么是设计模式 Christopher Alexander:“每一个模式描述了一 ...