When /boot runs out of space and the machine drops into emergency mode
A few minutes after a kernel update, you power on the server and the console shows:
System boot failed.
Emergency mode - type "journalctl -xb" to view logs.
The root filesystem is mounted read‑only, the initramfs cannot be loaded, and the machine refuses to start. The culprit is almost always a full /boot partition. In this post I walk through the exact steps to diagnose, free space, and reboot safely. I’ll cover the most common distributions, show how to keep the system lean, and touch on security best‑practices that come with kernel housekeeping.