Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.


  Search this Thread
Old 10-12-2017, 10:05 AM   #1
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,315

Rep: Reputation: 99
Question Can't boot CentOS 7 Virtual Machine Dracut timeout, can't detect all drives

I was given a VMDK file with a CentOS 7 image on it for a pre-configured appliance. We do not run a VMWare shop but run Hyper-V, so I converted the VMDK to a VHDX and created a Hyper-V virtual machine attaching this VHDX virtual hard drive to it.

Upon boot the startup bar progressed until it was full and the system just sat there. pressing escape I was able to see that I was getting dracut timeouts, and finally a cannot boot message. I am able to boot into rescue mode. In rescue mode I modified the grub boot menu and disabled rhgb quiet, I basically received the same things after this except that I didn't get the loading bar splash screen. After some research I booted a live distro, mounted the drive and ran xfs_repair against the drive partition (it's xfs file format). I also verified the UUID matches what's being passed to dracut and I tried regenerating an initramfs using dracut in rescue mode.

I finally turned on and was dropped into the emergency dracut shell shell after the timeouts. I found that there is no /dev/disk/by-uuid directory in the dracut shell, and when I exit the shell I get a warning that not all disks have been found, and that I might want to regenerate my initramfs. So I did just that, this time also making sure that the UUID's for both partitions were in the fstab file (the swap partition was not originally).

I am assuming the timeouts are dracut trying to find the disks, but I am not 100% positive.

Does anyone have any ideas how I can get this booted?
Old 10-12-2017, 12:02 PM   #2
Senior Member
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,315

Original Poster
Rep: Reputation: 99
Found that the boot was detecting Hyper-V disks and ignoring them, and wasn't seeing them in the initramfs. After a little more research I saw someone said this issue was resolved in newer kernels 3.12 and up, I was on 3.10 upgraded to a newer mainline kernel and rebooted and it works wonderfully now.


disks not found, dracut initramfs, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
warning dracut-initqueue timeout - starting timout scripts Harshit_24 Linux - Newbie 1 04-06-2017 01:58 PM
LXer: How to add new drives to a VirtualBox virtual machine LXer Syndicated Linux News 0 10-27-2016 02:01 PM
cannot detect additional virtual disk on centos pedenski Linux - Newbie 1 05-22-2013 04:21 PM
[SOLVED] Samba on Centos 6 - browsing from XP Pro machine sometimes failes - semaphore timeout rylan76 Linux - Networking 1 11-05-2012 01:21 AM
Sharing drives on virtual machine casaba Linux - Networking 4 08-18-2008 12:59 PM > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration