Am 29.04.2020 um 21:48 schrieb Jerry Geis:
I am trying to take a CentOS 7 img and get hyperv to boot.
First step.
qemu-img convert "CentOS7.img" -O vhdx -o subformat=dynamic "CentOS7.vhdx"
after adding new hyper-v I get dracut-timeout...
So doing some searching it says add hv_vmbus hv_netvsc hv_storvsc to
INITRD_MODULES.
which doesnt really exist any more in CentOS 7.
I did find /etc/dracut.conf and add_drivers...
I uncommented the line for '#add_drivers += "" ' added the above modules
and then ran:
grub2-mkconfig -o /boot/grub2/grub.cfg
Why didn't you run dracut to create the new initramfs image file?
Then redid the convert above... Hyper-V still gives me dracut-timeout
errors.
Thoughts ? Did I miss something ?
Thanks
Jerry
Alexander
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos