I’m trying to install CentOS 7 using Hyper-V and it’s failing with the following error message:
tsc: Fast TSC calibration failed PCI: Fatal: No config space access function found i8042: No controller found [long waiting period...] dracut-initqueue: Warning: Could not boot. dracut-initqueue: Warning: /dev/disk/by-label/CentOS-7-livecd-x86_64 does not exist dracut-initqueue: Warning /dev/mapper/live-rw does not exist Warning: /dev/disk/by-label/CentOS-7-livecd-x86_64 does not exist Warning: /dev/mapper/live-rw does not exist Generating "/run/initramfs/rdsosreport.txt"
I have created a Generation 2 virtual machine and disabled Secure Boot so it would at least start booting.
You don’t need to switch back to a Generation 1 virtual machine. You can use a Generation 2 virtual machine, so long as you disable Secure Boot.
To quote from Microsoft:
Generation 2 virtual machines have secure boot enabled by default and Generation 2 Linux virtual machines will not boot unless the secure boot option is disabled. You can disable secure boot in the Firmware section of the settings for the virtual machine in Hyper-V Manager or you can disable it using Powershell:
Set-VMFirmware –VMName "VMname" -EnableSecureBoot Off
Supporting Secure Boot is still a work-in-progress in most Linux distributions.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.