Affected versions: CentOS Stream 10

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Boot fails after kernel rebuild because the initramfs lacks required storage or NIC drivers.

Environment & Reproduction

Happens when dracut auto-detection misses controllers used for boot or PXE provisioning.

Root Cause Analysis

Default hostonly mode excludes drivers not visible at build time, leading to early-boot panics.

Quick Triage

Boot fallback kernel, mount /boot, and audit lsinitrd output for missing modules.

Step-by-Step Diagnosis

Run: lsinitrd /boot/initramfs-$(uname -r).img | grep -E ‘megaraid|nvme|mlx5’.

Illustrative mockup for centos-stream-10 — cp242_diag
lsinitrd module audit — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Add force-drivers in /etc/dracut.conf.d/00-storage.conf and run sudo dracut -f –regenerate-all.

Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for centos-stream-10 — cp242_fix
force-drivers dracut configuration — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Disable hostonly mode globally via hostonly=no for image builds destined for diverse hardware.

Verification & Acceptance Criteria

initramfs contains the required drivers and the new kernel boots without panic.

Rollback Plan

Reboot using the previous kernel and remove the new initramfs file to roll back.

Prevention & Hardening

Document required drivers per platform and add dracut verification to build pipelines.

Related to multipath, FCoE, and PXE driver omissions.

Related tutorial: View the step-by-step tutorial for centos-stream-10.

View all centos-stream-10 tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

dracut(8) and dracut.conf(5).

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.