I am running a centos 7 VM in KVM/Qemu on Fedora 27 Server.
The VM will boot. I can boot to the rescue kernel. If I try to boot the normal kernel I see a series of messages saying
dracut-initqueue[271]: Waning: dracut-initqueue timeout - starting timeout scripts
I see this over and over for a while then it hits
[OK] Started dracut initqueue hook.
[OK] Reached target Remote File Systems (Pre).
[OK] Reached target Remote File Systems.
But then it hangs
[* ] A start job is running for dev-map...device (1h 26min 28s / no limit)
I've tried everything I know after googling and checking logs and such and at a point I have to kind of throw my hands in the air? I'm not incredibly knowledgeable at debugging the centos boot process. I suspect it has something to do with storage. Which is odd because ist incredibly simple. Its just a standard KVM VM with a standard virtio disk. Which is stored on the KVM server as a qcow file.
Curious if anybody has any ideas on where to begin?
Centos 7 VM hangs during boot
-
- Posts: 2
- Joined: 2018/01/05 19:39:20
Re: Centos 7 VM hangs during boot
No ideas eh? Any words of advice for just basic boot up troubleshooting?
Re: Centos 7 VM hangs during boot
Boot with the rescue kernel and rebuild the initramfs for the latest installed kernel. Run rpm -q kernel to see the list of installed ones then use the latest one that's installed and then run dracut -f /boot/initramfs-3.10.0-693.11.6.el7.x86_64 3.10.0-693.11.6.el7.x86_64 using the version string from the latest kernel package that's installed. If it's easier you can ls /lib/modules and use th directory name from there as the version to the dracut command.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke