Page 1 of 1

Centos 7 booting issue

Posted: 2019/09/10 17:46:03
by nitin.jadhav
Hi I have centos 7 installed with GUI, today suddenly system got hanged after that I manually restarted server.
After restarting, system is booting into dracut mode. I am not able to do anything now.
Please someone help me in this because I have important data in this server I which I havent backed up.
Below is the error:

204.955113] dracut-initqueue[669]: Warning: dracut-initqueue timeout - starting timeout scripts
[ 204.955327] dracut-initqueue[669]: Warning: Could not boot.
[ 205.095282] dracut-initqueue[669]: Warning: /dev/root does not exist
Starting Dracut Emergency Shell...
Warning: /dev/root does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt to a USB stick or /boot
after mounting them and attach it to a bug report.

Re: Centos 7 booting issue

Posted: 2019/09/11 15:33:42
by patmans
nitin.jadhav wrote:
2019/09/10 17:46:03
204.955113] dracut-initqueue[669]: Warning: dracut-initqueue timeout - starting timeout scripts
[ 204.955327] dracut-initqueue[669]: Warning: Could not boot.
[ 205.095282] dracut-initqueue[669]: Warning: /dev/root does not exist
Starting Dracut Emergency Shell...
Warning: /dev/root does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt to a USB stick or /boot
after mounting them and attach it to a bug report.
The above implies (somewhat obviously) that it can't find your root disk.

If the root fs is also your boot device, the drive is still working in some way.

Otherwise, the disk is bad or there's probably some other failure - like a conig change, or maybe the hardware has a bad connection - that's preventing the system from seeing it.

Debugging in the initramfs shell is painful, as it only includes a minimal number of commands.

If you have an emergency boot mode, try that (can't recall if CentOS installs that by default). Otherwise, boot from a live ISO or pull the drive and put it in another system.

Check logs for hardware or other failures, and if the drive seems to be working, run smartctl on it to see if it reports any significant failures.

You do not want to backup the entire drive if it's starting to fail, as that can lead to more failures (mainly for an HDD, not much for SSD or NVME, those will generally have entire blocks of data missing) - if it seems to be going bad, first find and copy the data you need, and then once you have those (or if the drive is OK) try backing up everything else.

And then if all looks OK, try booting from it again.

-- Patrick

Re: Centos 7 booting issue

Posted: 2019/09/11 16:12:53
by TrevorH
First thing to check is if an older kernel from the grub menu boots ok. If it does, then boot that and yum reinstall kernel-3.10.0-whatever-the-broken-one-is and retry.

Re: Centos 7 booting issue

Posted: 2019/09/18 10:11:44
by nitin.jadhav
Thank you guys
Not able to resolve this issue so I have reinstalled centos.
Bad luck :(