Centos 7 booting issue

Issues related to applications and software problems
Post Reply
nitin.jadhav
Posts: 9
Joined: 2018/10/03 09:39:31

Centos 7 booting issue

Post by nitin.jadhav » 2019/09/10 17:46:03

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.

patmans
Posts: 3
Joined: 2019/02/27 20:31:53

Re: Centos 7 booting issue

Post by patmans » 2019/09/11 15:33:42

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

User avatar
TrevorH
Forum Moderator
Posts: 26596
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 booting issue

Post by TrevorH » 2019/09/11 16:12:53

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

nitin.jadhav
Posts: 9
Joined: 2018/10/03 09:39:31

Re: Centos 7 booting issue

Post by nitin.jadhav » 2019/09/18 10:11:44

Thank you guys
Not able to resolve this issue so I have reinstalled centos.
Bad luck :(

Post Reply

Return to “CentOS 7 - Software Support”