On Sun, Aug 18, 2024 at 9:43 AM Roger Heflin rogerheflin@gmail.com wrote:
I don't know specifically on this bug. But the 2 common mistakes fall into some piece failing and causing dracut to not properly detect what modules the boot device needs to use. And when that happens dracut times out looking for root. I have also seen bugs where the necessary module needed to boot is broken.
Best fix for the first one is to change dracut to use host-only = no (include all possible modules that may be needed to boot and don't rely on detection).
Or generate a newer rescue kernel. The 6.10 update had a bunch of issues that are not mostly resolved, so this may be a good time to update the rescue kernel.
There may be some other options in dracut to force tne needed pieces that you know your setup needs. This should eliminate the need to rely on the detection code to figure out what modules are needed. The disadvantage is that the initramfs will be 2-4x larger and that may impact the number of kernels you can have on boot.
One purpose of the rescue kernel is to allow swapping out a broken piece of hardware (typically video card, network card, or mass storage device), so 3 smaller kernels and a relatively current rescue kernel is a reasonable use of resources.