Recently I use disk2vhd from Microsoft to make an snapshoot and to virtualize one phisical IBM machine.
the problem was that the VHD that have the boot partition C: not boots on Hyper-V (Windows 2012 Standard edition)
this is becose the partition was in GPT mode not MBR and in Hyper-V there are some problems:
http://forum.sysinternals.com/vhd-not-start-after-disk2vhd_topic28951.html
this problem seems to be corrected on Windows 2012 R2:
http://bink.nu/what%E2%80%99s-new-for-hyper-v-in-windows-sever-2012-r2
the solution:
- mount the VHD file on the hyper-v server,then you can access partitions and files.
- Install a free app on hyper-v server, to convert VHD file from GPT to MBR, I used this: http://www.disk-partition.com/free-partition-software.html, that not lose data: http://www.disk-partition.com/help/convert-gpt-mbr-disk.html
- delete the other partitions that not contains data.
- Start virtual machine with Windows 2008 R2 installation dvd , use DISKPART to assing correct letters to the volumes.http://technet.microsoft.com/en-us/library/cc757491(v=ws.10).aspx
- reboot,
- start again from windows 2008 R2 dvd , select repair and command promt, to do this:
bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd
x:\sources\recovery\StartRep.exe
One thought on “Add GPT disk bootable to Hyper-v”