We have some Ubuntu 16.04 servers.
unattended-upgrades are automatically enabled since 16.04 and
/boot is a separate partition.
Due to the automatic security updates,
the boot partition is running out of space with new kernels.
We can't reboot the systems (for availability reasons), so the machine is still using the penultimate kernel.
Which kernels should I remove? All but the current, the oldest and the newest?
Do you guys have some recommendations?
I have also noticed that the newest kernel has the status "Half Configured". This kernel would probably not work, so should I remove this one and use an older kernel?
dpkg -l | grep linux-image:
ii linux-image-4.4.0-21-generic --> old kernel ii linux-image-4.4.0-34-generic --> current kernel ii linux-image-4.4.0-36-generic --> new kernel ii linux-image-4.4.0-38-generic --> new kernel ii linux-image-4.4.0-42-generic --> new kernel ii linux-image-4.4.0-45-generic --> new kernel ii linux-image-4.4.0-47-generic --> new kernel ii linux-image-4.4.0-51-generic --> new kernel ii linux-image-4.4.0-53-generic --> new kernel iF linux-image-4.4.0-57-generic --> new kernel