I keep running into the issue of the /boot
partition filling up with old kernel images, which causes obscure errors during upgrades (but now I know what they are...).
Note that I already know how to fix this thanks to Ask Ubuntu: here's my favorite answer.
My question is, why does Ubuntu keep doing this, and isn't this a serious design flaw?
In reading questions related to /boot
filling up, I have seen comments like "This happens because you assigned a small space for the boot partition or you have UEFI and forgot to increment the space.". However, I have encountered this problem on at least three different Ubuntu installations, spanning versions from 12 to 15, and I have never used anything other than the default install options. I've always done a clean Ubuntu install using the entire disk (no dual-boot), although the drive has usually had something else on it before.
Am I doing something wrong in the install (i.e. an option I should select)? I always assume the default options will be the safest.
Also, even if the install was different (i.e. no /boot
, or a larger /boot
), wouldn't this still be an issue? (i.e. if old kernel images are never deleted, they are going to eat up the disk space, which seems like a design flaw even if there is plenty of free space).
/boot
partition. You probably use encryption./boot
. :)/boot
partition. It is created only if you choose to encrypt the file system.