Windows 10: Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD
Kari, have you tried this tutorial lately? I am getting an error at step 3.2 when I try to mount the created vhdx file.
I am using Windows 14393.953 on a UEFI/GPT configuration. It shows to be offline in Disk Management.
Thought maybe vhdx file didn't create properly so I tried creating twice more with the same results.
Finnish but not finished
I'll check and update tutorial today (Sunday). I've been up all night testing various unattended install scenarios and am now simply too tired (it's 6:30 AM my local time), I have to sleep a few hours first.
I promise a solution later today
I hope you do not take offence at this but I am sure many users here do not want you to "burn out" by overdoing things late at night, especially given you are currently having some health issues. We can wait for answers .
I am in no rush. Take your time. I am learning about VMs and happened across your tut. Thank you for your response and the time and the work you put in for us all here at WTF.
Finnish but not finished
@tracit99, the tutorial is apart of Part One totally re-written. There is no need to mount your DISK2VHD virtual hard disks, I guess your VHD is OK and ready to be used in Hyper-V. GPT to MBR conversion is not required.
The issue you had is because disk ID conflict. Each disk has a unique disk ID; when you used Disk2VHD you basically cloned your existing HDD, with its ID. Windows cannot cope with two disks with same ID, therefore the VHD was offline. If you right click the disk header (left most column in Disk Manager) and select Online, system creates a new unique disk ID for that VHD and it will be mounted.
@Kari, Thanks for the tut rewrite. Very well done. I was able to create a new VM without any problems.
Last edited by tracit99; 5 Days Ago at 08:36.
Hi Kari,Great re-write.I wonder if you can answer a hopefully simple question.I remember at the back of my mind trying this with a 1TB main drive and 1 TB secondary drive.The main drive had two partitions 250GB and 750GB approx with the OS+progs on 250GB (100GB used) and 750GB mostly empty (720+GB free).As I recall it, when I created the vhd using disk2vhd, it appeared to configure it internally as a 1TB drive even though I did not select the 750 GB partition i.e it had apparently had a 250GB drive and 750 GB of unallocated space. The actual vhd was only about 100 GB and on secondary drive with over 500 GB free). I know this as I managed to copy the vhd to a third 2TB drive on another PC, and when I loaded it it showed the 250GB drive and 750GB unallocated! To answer the obvious question, I did create a dynamically expanding vhd as the actual vhd would not have fitted on secondary drive if fixed.The problem was when I tried to run it in Hyper-V, it would not run it saying it did not have enough space i.e it would not let me use it if it could not reserve 1TB space on secondary drive.I then replaced 1TB drive with a smaller 160GB drive, cloning from 1TB drive using good old Macrium Reflect, then tried using disk2vhd and it worked fine.So my simple questions iso you know if you (still?) need to have enough spare capacity on secondary drive to hold space equivalent to the WHOLE of primary drive?I could not see any option with disk2VHD to limit maximum siz of vhd.If that is true, you might wish to add a warning?
How to Create Shortcut of Hyper-V Virtual Machine in Windows 8 and 10
There's nothing wrong in running the Hyper-V Manager and launch your virtual machines from there. However, creating a shortcut for each vm you have you can start them fast...
How to Setup and Use Hyper-V in Windows 10 for OS Virtualization
Windows 10 Pro, Education and Enterprise editions come with a built-in hypervisor client Hyper-V allowing users to create and run other operating systems on a virtual machine....
How to Create and Use Hyper-V Checkpoints in Windows 10
Checkpoint is a powerful Hyper-V feature to easily undo all changes on a virtual machine. You can play with virtual machines testing apps, changing settings, editing registry and so on as...
How to Install CentOS Linux on Hyper-V Virtual Machine in Windows 10
A working and quite nice alternative for dual booting is to install various operating systems on a virtual machine. CentOS is officially supported by Microsoft as a guest OS...
I tried to install the preview as a virtual machine and everything went fine until after a reboot following the download and installation of the updates. Both 8.1 & 10 locked up with a strange crackling noise through the speakers every few seconds....