Convert physical disk (GPT) to VHDx
How to do it: Use Disk2vhd to create a VHDX (or VHD, but I recommend VHDX) from your physical disk - it doesn't really matter which drives you check/uncheck as long as your Windows drive is checked. Create a Gen2 VM in Hyper-V and attach the new VHDX and your choice of Windows installation media (DVD or VHD). Boot the VM (it shouldn't matter what's listed first under the Firmware tab - it'll likely boot from your installation media anyway since your VHDX doesn't work yet). Hit Shift+F10 to bring up the Command Prompt (or click through troubleshooting buttons to the Command Prompt). Type "diskpart" and hit Enter. Type "list vol" and hit Enter - note the drive letter of your Windows volume (most likely the largest option), as well as which volume says Raw next to it. Type "sel vol #" where "#" is the number of the volume that says Raw next to it (this is the reason your VHDX doesn't "just work" when Disk2vhd has co...
Comentários
Postar um comentário