Sunday 21 January 2024

dracut-initqueue timeout - starting timeout scripts messages while booting in RHEL operating system

When we perform operating system patching on RHEL systems, we will get below error during boot time.

[  107.123456]  dracut-initqueue[675]: Warning: dracut-initqueue timeout - starting timeout scripts
[...]
[  108.789102]  dracut-initqueue[675]: Warning: dracut-initqueue timeout - starting timeout scripts
[  109.345678]  dracut-initqueue[675]: Warning: Could not boot.
[  110.901234]  dracut-initqueue[675]: Warning: /dev/vg_root/root does not exist
[  111.234567]  systemd[1]: Starting Dracut Emergency Shell...

After updating to the latest kernel, the system is not coming up, but it loads fine with the old kernel.We will get below message 

"dracut-initqueue timeout could not boot"

To resolve this issue, we need to follow below method.

List the logical volumes on your system:-


[root@redhat001:~]#lvs -o vg_name,lv_name

VG   LV  

vg_root root

vg_swap swap


Verify that the rd.lvm.lv= parameter values match the list of logical volumes on the system:-

[root@redhat001:~]#grep GRUB_CMDLINE_LINUX /etc/default/grub
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=vg_root/root rd.lvm.lv=vg_swap/swap rhgb quiet"

If volume group or logical volume group name are not correct, then you need to change this in above /etc/default/grub file after that need to follow below step.

Recreate the GRUB configuration file:-

On non-UEFI systems: Please run the below command.

[root@redhat001:~]#grub2-mkconfig -o /etc/grub2.cfg

On UEFI systems: Please run the below command.

[root@redhat001:~]#grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg

Reboot the system:

shutdown -r

Once you reboot the system please perform sanity checks from your OS side.

No comments:

Post a Comment