live vm migration

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Mon Nov 25, 2024 8:27 am

Hi,
I have migrated powered off vm from esxi to hyper v. I need migrate Powered On VM(live migration VM) from ESXI to HYPER-V, and getting error that synchronization is failed
Is there any prerequisite required


Regards,
Mohammad
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Mon Nov 25, 2024 8:50 am

Log or error code could be helpful.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Mon Nov 25, 2024 12:07 pm

Hi,
I did live migration of VM from ESXI to HYPERV its showing successfully converted. When i open VM in Hyper-V that disk is not attached to VM, while attaching disk to VM showing an error that "Error applying disk change" and disk is corrupted and unreadable

Regards,
Mohammad
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Mon Nov 25, 2024 12:32 pm

Hi ,
i have gone through link which you have mentioned that we should use old version tool if its yes please mention the link to download
should i follow this procedure which i want to migrate windows VM
Log into the VM
1. $ vi /etc/default/grub
1.1. Change the line
GRUB_DEFAULT=1
Save and exit.

2. $ grub2-mkconfig -o /boot/grub2/grub.cfg
3. $ shutdown -h now


Note: 1) In my scenario live migration of windows vm from esxi to hyper v successfully completed converting i am attaching screenschot
2) I did not uninstall VMware tool
Attachments
starwind.PNG
starwind.PNG (12.69 KiB) Viewed 2364 times
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Mon Nov 25, 2024 1:03 pm

There is a link in that thread.
First of all, please try removing the VMware tools. This is might be what is clashing with conversion.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Mon Nov 25, 2024 2:12 pm

Hi ,
I have used v2v older version successfully converted machine to Hyper-V. When i powered on the VM getting error. I am attaching the screenshot
windows error.PNG
windows error.PNG (28.03 KiB) Viewed 2320 times
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Mon Nov 25, 2024 3:07 pm

The issue seems to be related to the residual drivers from the source environment as the converter ran without errors.
Please try removing the VMware tools. This might be what is clashing with conversion.
Please also try booting the VM with the IDE controller attached.
Check also this out https://www.erniecosta.com/2020/02/26/h ... t-drivers/.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Tue Nov 26, 2024 1:10 am

Hi,
Okay I will remove vmware tool and VM is gen2 so it can't run on IDE controller.
I have one question that EXSI server and hyper v server both are from different family. Because of this VM is not booting??
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Tue Nov 26, 2024 5:05 am

Hi,

Try converting individual disks and resemble the VM afterward as Gen1.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Wed Nov 27, 2024 11:13 am

Hi ,
Thanks a lot for you support.I have one question that i am migrated VM gen 2 from esxi to hyper v,its successfully completed,but when i run the machine showing disk is corrupted and unreadable
please suggest me in this case

Regards,
Mohammad
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Wed Nov 27, 2024 11:36 am

You are welcome. I am happy I could help.
Can you please share the error you are getting?
See also this thread viewtopic.php?f=15&t=6763&p=36723&hilit=google#p36723.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Thu Nov 28, 2024 9:59 am

Hi ,
I have two questions that
1) I want to migrate VM with two disk from esxi to hyper v is this possible ?
2) I have migrated windows bios mode vm from esxi to hyper v getting error that disk corrupted or unreadable
(for this we have just migrate only disk)
yaroslav (staff)
Staff
Posts: 3100
Joined: Mon Nov 18, 2019 11:11 am

Thu Nov 28, 2024 10:20 am

Hi,

Yes, it is possible.
Again, the issue is caused by the interaction of the VM world with the destination.
Try removing the VMware tools.
As the last resort, try converting the VM to the template and importing it in place.
Mohammad
Posts: 14
Joined: Mon Nov 25, 2024 7:23 am

Tue Dec 03, 2024 9:51 am

Hi,
When i migrating VM of bios mode from VMware to Hyper-v ,i am getting error snap is attached for reference


Regards,
Mohammad
BIOS error.PNG
BIOS error.PNG (27.41 KiB) Viewed 1342 times
Post Reply