Windows 10: Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD  

Page 2 of 2 FirstFirst 12

  1. Posts : 346
    Windows 10 Pro 15063.332
       18 Mar 2017 #10

    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.

    Name:  Vhdx mount.jpg
Views: 149
Size:  35.3 KB

    I am using Windows 14393.953 on a UEFI/GPT configuration. It shows to be offline in Disk Management.

    Click image for larger version. 

Name:	DM Vhdx mount.jpg 
Views:	32 
Size:	194.0 KB 
ID:	125694

    Thought maybe vhdx file didn't create properly so I tried creating twice more with the same results.
      My ComputerSystem Spec


  2. Posts : 11,250
    Windows 10 Pro
    Thread Starter
       19 Mar 2017 #11

    tracit99 said: View Post
    Thought maybe vhdx file didn't create properly so I tried creating twice more with the same results.
    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

    Kari
      My ComputerSystem Spec

  3.    19 Mar 2017 #12

    Kari said: View Post
    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

    Kari
    Hi Kari,

    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 .

    cheers

    M.
      My ComputerSystem Spec


  4. Posts : 346
    Windows 10 Pro 15063.332
       19 Mar 2017 #13

    Kari said: View Post
    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
    Kari
    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.
      My ComputerSystem Spec


  5. Posts : 11,250
    Windows 10 Pro
    Thread Starter
       19 Mar 2017 #14

    @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
      My ComputerSystem Spec


  6. Posts : 346
    Windows 10 Pro 15063.332
       20 Mar 2017 #15

    @Kari, Thanks for the tut rewrite. Very well done. I was able to create a new VM without any problems.
    Last edited by tracit99; 23 Mar 2017 at 08:36.
      My ComputerSystem Spec

  7.    20 Mar 2017 #16

    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?
      My ComputerSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
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 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 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...
Solved Windows 10 and Hyper-V in Installation and Upgrade
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....
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 13:51.
Find Us