Affected versions: CentOS Stream 9

📖 ~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

Dracut emergency shell after kernel upgrade

Environment & Reproduction

Storage driver not included in regenerated initramfs.

Root Cause Analysis

Dracut hostonly mode omitted modules required by current boot device.

Quick Triage

Inspect /run/initramfs/rdsosreport.txt and ls in emergency shell.

Step-by-Step Diagnosis

Run: lsinitrd /boot/initramfs-$(uname -r).img | grep .

Illustrative mockup for centos-stream-9 — cp232_diag
Dracut emergency shell prompt — Illustrative mockup — Progressive Robot

Solution – Primary Fix

From rescue: chroot, then sudo dracut –add-drivers ” -f /boot/initramfs-.img .

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-9 — cp232_fix
dracut rebuild including required driver — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Set hostonly=no in /etc/dracut.conf.d/ for portable initramfs across hardware.

Verification & Acceptance Criteria

System boots normally and the previously missing module is loaded.

Rollback Plan

Boot the previous kernel and rebuild initramfs before retiring the older image.

Prevention & Hardening

Track required modules per host class and validate dracut output post-update.

Automate patch management and compliance across your fleet with our DevOps services.

Pairs with Could not boot and dracut-initqueue timeout messages.

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

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

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

dracut.cmdline(7) and Red Hat boot recovery KB.

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.