The Problem
Messages “dracut-initqueue timeout – starting timeout scripts” are printed loop while booting then an Emergency shell is launched:
dracut-initqueue[]: Warning: dracut initqueue timeout - starting timeout scripts dracut-initqueue[]: Warning: dracut initqueue timeout - starting timeout scripts dracut-initqueue[]: Warning: dracut initqueue timeout - starting timeout scripts dracut-initqueue[]: Warning: dracut initqueue timeout - starting timeout scripts dracut-initqueue[]: Warning: Could not boot. dracut-initqueue[]: Warning: /dev/mapper/root_vg-root_vol does not exist. dracut-initqueue[]: Warning: /dev/ol/root does not exist. dracut-initqueue[]: Warning: /dev/ol/swap does not exist. Starting Dracut Emergency Shell.....
The Solution
Volume group was renamed from ‘ol’ to ‘root_vg’, logical volume was renamed from ‘root’ to ‘root_vol’. A logical volume/group parameter (rd.lvm.lv= ) value in the kernel bootline is incorrect. Follow the steps outlined below to resolve the issue.
1. Boot the system into rescue mode.
2. List the logical volumes available on your system. For example:
# lvs LV VG root ol swap ol
3. Edit /etc/default/grub file and verify that the rd.lvm.lv= parameter values match with the logical volumes listed in the lvs command output. For example,
Change from:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=root_vg/root_ol rd.lvm.lv=root_vg/swap rhgb quiet"
To:
GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=ol/root rd.lvm.lv=ol/swap rhgb quiet"
4. Rebuild the /boot/grub2/grub.cfg file by running the grub2-mkconfig -o command as follows:
On BIOS-based machines:
# grub2-mkconfig -o /boot/grub2/grub.cfg
On UEFI-based machines:
# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
5. Reboot the server and verify that system boot successfully.
# reboot