Bootup and Kernel Problems

Author

flip phillips (fxpppr)

Modified

October 30, 2025

[WIP] Work In Progress

The Most Common Problem

For some reason, in Rocky 9, the /boot partition (or the EFI sub-partition) gets too small to properly build the kernel after an NVIDIA driver update. No idea why.

When this happens, you’ll show up to your workstation with text screen -

Figure 1: Almost a blue screen of death. But still not.

This almost always means that the kernel failed to rebuild after a system update. But - Never Fear! Because our setup stores the last few kernel builds for just such an emergency, you can easily just select the previous kernel build and get the machine to boot.

Figure 2: When you see this GRUB boot selector, just scroll the cursor down one level to the previous kernel build and woot, you’re done.

Let Flip know this is a problem. There’s a script to fix it, and, someday I’ll put it on the machines so you can self-repair.

Triple Secret Super Solution

This script will clean up your /boot partition and get things working again. You can run it from a terminal after booting into the previous kernel, as sudo.