Quantcast
Channel: Rob V IT
Viewing all articles
Browse latest Browse all 64

Converting a VMWare CentOS VM to Hyper-v

$
0
0

After converting the VMDK I faced the issue that the VM Won’t boot without preinstalled Hyper-V drivers.
Fixed this with regenerate the Initrd BEFORE converting to Hyper-v (VHDX).

#CentOS 6 (some other modules needed)
mkinitrd -f -v --with=hid-base-hv --with=hid-hyperv --with=hv_utils --with=hv_vmbus --with=hv_storvsc --with=hv_netvsc /boot/initramfs-$(uname -r).img $(uname -r)

#CentOS 7
mkinitrd -f -v --with=hid-hyperv --with=hv_utils --with=hv_vmbus --with=hv_storvsc --with=hv_netvsc /boot/initramfs-$(uname -r).img $(uname -r)

 

 

The post Converting a VMWare CentOS VM to Hyper-v appeared first on Rob V IT.


Viewing all articles
Browse latest Browse all 64

Trending Articles