1GB Boot Partition? Not Enough! My Debian Upgrade Nightmare
2025-03-19
I confidently allocated a 1GB ESP partition and a 1GB boot partition, only to be quickly proven wrong. During a routine system update, apt complained about insufficient boot partition space. The culprit? New NVIDIA driver modules from my recently installed graphics card. A temporary fix was cleaning up old kernel versions, but this was only a band-aid solution. The final solution involved using GParted to shrink the root partition, expand the boot partition, and migrate data using rsync. I also updated fstab and grub. Crucially, I learned to run `grub install` before cleaning the old partition, otherwise the system wouldn't boot. Finally, I repurposed the old boot partition as an unencrypted temporary backup partition.
Development
Partition Management