Background
One of our Linux CentOS machines is not booting up.
Error Messages
Image
Textual
dracut-initqueue[487]: Warning: dracut-initqueue timeout – starting timeout scripts
Troubleshooting
Outline
- BIOS
- Hardware Specifications
- Emergency Mode
- Command
- LVS
- Command
BIOS
Hardware Specifications
Please access the computer’s BIOS.
Review the Hardware; specifically Hard-drive.
If your hard-drive is not present.
Or is marked faulty, then you have found your problem.
Emergency Mode
Access Emergency mode.
Command
LVS
Syntax
lvs
Sample
lvs --all
Output – Textual
LV | VG | Attr | LSize |
---|---|---|---|
home | cl_c-73-231-61-21 | -wi-ao—- | <390.84g |
root | cl_c-73-231-61-21 | -wi-ao—- | <70.00g |
swap | cl_c-73-231-61-21 | -wi-ao—- | <3.92g |
Output – Image
Remediation
- Emergency Mode
- Rebuild initramfs
Emergency Mode
Access or stay in emergency mode.
Rebuild initramfs
Commands
dracut
Syntax
dracut --regenerate
Sample
dracut --regenerate-all -f
Output – Image ( Without force )
Output – Textual ( Without force )
>sudo dracut --regenerate-all [sudo] password : dracut: Will not override existing initramfs (/boot/initramfs-4.18.0-348.7.1.el8_5.x86_64.img) without --force dracut: Will not override existing initramfs (/boot/initramfs-4.18.0-383.el8.x86_64.img) without --force dracut: Will not override existing initramfs (/boot/initramfs-4.18.0-408.el8.x86_64.img) without --force
Output – Textual ( With force )
>sudo dracut --regenerate-all -f [sudo] password :
Explanation
- Please issue “dracut –regenerate -f” to actually force a rebuild of your initramfs
grub2-mkconfig
Syntax
grub2-mkconfig
Sample – BIOS
If you are booting up via BIOS, please pass along /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
Sample – UEFI
If you are booting up via UEFI, please pass along /boot/efi/EFI/redhat/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
Output – Image ( Without force )
Output – Textual
generating grub configuration file..
Explanation
- Please determine ahead of time whether your are running legacy bios or the more modern UEFI
Summary
In summary, if you run into the error:-
dracut-initqueue timeout – starting timeout scripts
Please do the following:-
- Check your hard-drive
- Access BIOS and run hardware tests
- Attempt to use 3rd party hardware diagnostic tools
- Access Emergency Mode
- Issue LVM Command ( Logical Volume Manager )
- Review LVM Listing
- Rebuild initramfs
- dracut –regenerate-all
- grub2-mkconfig
- Issue LVM Command ( Logical Volume Manager )
Referenced Work
- Stack Exchange
- Unix & Linux
- Error booting Linux root and swap does not exist
Link
- Error booting Linux root and swap does not exist
- Unix & Linux
- The Geek Diary
- “dracut-initqueue[286]: Warning: dracut initqueue timeout – starting timeout scripts” – CentOS/RHEL 7 booting issue
Link
- “dracut-initqueue[286]: Warning: dracut initqueue timeout – starting timeout scripts” – CentOS/RHEL 7 booting issue
- Ubuntu
- Initramfs
Link
- Initramfs
- LinuxFromScratch.Org
- Beyond Linux® From Scratch (System V Edition) – Version r11.2-942
- Chapter 5. File Systems and Disk Management
About initramfs
Link
- Chapter 5. File Systems and Disk Management
- Beyond Linux® From Scratch (System V Edition) – Version r11.2-942