Link to home
Start Free TrialLog in
Avatar of Sysguys
SysguysFlag for United Arab Emirates

asked on

Windows server converted P2V through DISK2VHD not working

HI Team,

i converted a windows server to P2V through DISK2VHD,when i start the vhd in hyper v i get the below screen.

User generated image
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

This is not about your VHDX drive. It's about your booting order in your Hyper-V virtual server settings.
Go back to settings and make sure you have boot from HDD selected.

User generated image
This is my Windows 2008 Server created by Disk2VHD software and is working with no issues

User generated image
Avatar of Sysguys

ASKER

i see this
User generated image
So it looks like system can't find boot sector on your VHDX file and is going to try next available boot device (network adapter)
When you created VHDX file did you selected your system partition ? I think in real server your system partition was separate that's why you have problem with VHDX file.

You can ADD dvd rom to your Hyper-V and run setup on connected VHDX file and try repair boot.

If this will not help you need to create boot record manually or just make another VHDX file but this time make sure you've system partition selected.
Avatar of Sysguys

ASKER

i had two volume on that physical server which i converted to virtual one had the OS and the other data but after converting to virtual it created a single vhdx
OK, so for test only Attach VHDX file to your windows 7,8,10 workstation and mount it in disk manager to see if you have 2 partitions/volumes inside. Make sure that one volume/partition is set as primary and system boot partition

If you do you can try manually repair boot record. If you don't then you can manually create it, unmount VHDX and connect back to HYPER-V
Avatar of Sysguys

ASKER

hen i manually try to change the boot partition i get the below.

User generated image
User generated image
In your case SYSTEM partition should be active.
System partition has your boot manager.

What about if you will start installation disk on VM guest again and try to FIX Boot ?
Avatar of Sysguys

ASKER

but when i try to make it active i get the below.
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sysguys

ASKER

HI Tom,

thanks for your support you were right after repairing the boot record from cd the issue got resolved .i followed the below link.

https://blog.workinghardinit.work/2016/09/08/disk2vhd-on-a-generation-2-vm-results-in-an-unbootable-vhdx/