安装Ubuntu16.04系统的时候,可能勾选自动更新系统和安装系统软件,当时boot分区是200M,安装过程中系统升级后,之前的Linux内核依然会存在boot分区中,造成oot分区提示硬盘不足,故我们可以删除之前的linux内核,仅保留当前正在使用的即可。
1,系统启动的时候就弹出的问题:

2,查看已安装的linux-image各版本
dpkg --get-selections |grep linux-image

3,查看我们当前使用的是哪一个版本:
uname -a

4,使用命令卸载掉其他不用的版本:
sudo apt-get purge linux-image-4.4.0-83-generic
sudo apt-get purge linux-image-4.8.0-36-generic
sudo apt-get purge linux-image-extra-4.4.0-83-generic
sudo apt-get purge linux-image-extra-4.8.0-58-generic

5,再次运行查看是否之剩下我们的当前版本:dpkg --get-selections |grep linux-image
6,卸载完后可以用df命令看下boot分区的空间使用情况。
df

参考:http://www.linuxdiyf.com/linux/23774.html