ESXi 4 free > Hyper-v

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

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

Post Reply
bshedenhelm
Posts: 4
Joined: Wed Sep 26, 2018 8:26 pm

Wed Sep 26, 2018 8:57 pm

Any help you all can offer would be much appreciated.

I'm trying to convert an old ESXi 4 vm running Windows Server 2003 to Hyper-v 2016.
When I export the VM datastore files there is a -flat.vmdk file. I've ran that file through V2V choosing VHDX type and checking Activate Windows Repair Mode. That works without error but when I try to boot the VM in Hyper-v it loads the Windows 2003 splash screen and then crashes to a blue screen stop error 0x0000007b page.
Here's what I've tried:
chkdsk /p /r (no change)
fixboot (no change)
fixmbr (no change)
Windows repair (made it completely unbootable)
--after Windows repair tried fixboot and fixmbr again but still unbootable
Edit Disk in Hyper-v (no change)

What else can I try? I'm out of ideas.

Thanks
Boris (staff)
Staff
Posts: 805
Joined: Fri Jul 28, 2017 8:18 am

Wed Sep 26, 2018 9:10 pm

Try it with no repair option enabled first.
bshedenhelm
Posts: 4
Joined: Wed Sep 26, 2018 8:26 pm

Thu Sep 27, 2018 1:18 pm

Sorry, I left that out of what I tried.
The first time I converted it I did so without checking Repair mode.
bshedenhelm
Posts: 4
Joined: Wed Sep 26, 2018 8:26 pm

Fri Sep 28, 2018 1:55 pm

Anyone have anymore idea's that I can try? I would really like to avoid rebuilding this server if I can.

Thanks
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Fri Sep 28, 2018 2:16 pm

You should not select a flat file itself, you should select header of vmdk file.
You can find one in the VM folder: https://ESXi_ip_address/folder/vm_name_here/
bshedenhelm
Posts: 4
Joined: Wed Sep 26, 2018 8:26 pm

Tue Oct 02, 2018 2:24 pm

Okay, I converted the base file but still wasn't able to get it to load in Hyper-V 2016. Then I tried converting it to a vhd and loading it into Hyper-v 2008r2. This still didn't work but I ran a Windows repair and then was able to get the VM to boot and load Windows.

Thanks for you help!
Oleg(staff)
Staff
Posts: 568
Joined: Fri Nov 24, 2017 7:52 am

Tue Oct 02, 2018 2:56 pm

Thank you for your update!
Post Reply