Interview Prep/Linux/Boot, time, cron and kernel

Boot stops at `dracut-initqueue: Warning: dracut-initqueue timeout - starting timeout scripts` and then a `dracut:/#` shell.

AdvancedTroubleshootingBoot, time, cron and kernel
Answer

Likely causes → The initramfs can't find the root device: wrong root= UUID on the kernel command line, missing storage driver in initramfs, LVM VG renamed, or a LUKS device not unlocked.

Diagnose → In the dracut shell:

cat /proc/cmdline
blkid
lvm vgscan; lvm lvs
ls /dev/mapper

Fix → If LVM is inactive: lvm vgchange -ay then exit to continue. Permanently: boot rescue media, chroot, fix root=/rd.lvm.lv= with grubby, and rebuild initramfs with dracut -f --kver <version>.

Prevent → Rebuild initramfs after storage changes and test reboots in a window.

All Linux questions Roadmap: Linux

More on Boot, time, cron and kernel