After installing Ubuntu 16.04, the install procedure laid out my hard drive with the following partitions:
$ df -h Filesystem Size Used Avail Use% Mounted on ... /dev/sda2 237M 168M 57M 75% /boot /dev/sda1 511M 3.4M 508M 1% /boot/efi ...
Since then, I now frequently run into the problem that there is not enough space on
/boot for kernel updates that the automatic software updater wants to install.
I know how to uninstall old kernels; that is not the problem. The problem is that I now have to do it this often. I cannot recall ever experiencing this before in my many years running Ubuntu. Could it be that it is a mistake in the partition lay-out and that Ubuntu perhaps originally intended some of the image files to be installed in
/boot/efi instead which seems to stay almost unused despite its larger size?
Can I safely shrink the
/boot/efi partition and enlarge the
/boot partition to make more room for kernel updates so that I don't have to clean out so often?