When installing Ubuntu, when assigning space to the/boot file directory, it is 100m,/boot can be separated into a separate zone, or not separate, in/(root directory) will automatically create a boot directory for it. By the way, the Linux partition is a tree structure,/root directory, in its directory will be divided into different work of the directory, so when the partition can be divided into a single root partition and a swap (virtual memory) partition. If the minute points, for/boot separate partition, 100M enough, the boot file is stored in the system boot files and the kernel of some things, these things 100M is enough to accommodate. And everyone knows that the Linux kernel has been updated, after the update, the old kernel is no longer used, but the old kernel files are still in the boot, occupy the space, the update a few times after the boot file will be full, showing boot disk space is insufficient. In order to update the need to remove the unused kernel files, free space.
1:
Under terminal, look at the old kernel that is already installed:
Ctrl+alt+t--> Enter the terminal--input command:
Dpkg--get-selections|grep Linux
As follows:
Linux-behind the image is the old kernel. Because I have already deleted the old kernel, so the deinstall is shown later, the install is not deleted.
All we have to do is remove the Linux kernel with the image behind it.
2: Delete operation:
sudo apt-get remove linux-image-(version number) (which is the version with image above)
There is incomplete uninstall (hint), can be removed with sudo apt-get autoremove.
Ubuntu Boot space is low