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

Page 2 of 2 FirstFirst 12
  1. tracit99's Avatar
    Posts : 568
    Windows 10 Pro 18363.476
       #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.

    Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD-vhdx-mount.jpg

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

    Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD-dm-vhdx-mount.jpg

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

  2. Kari's Avatar
    Posts : 17,113
    Windows 10 Pro
    Thread Starter
       #11

    tracit99 said:
    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 Computer

  3. cereberus's Avatar
    Posts : 11,332
    Windows10
       #12

    Kari said:
    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 Computer

  4. tracit99's Avatar
    Posts : 568
    Windows 10 Pro 18363.476
       #13

    Kari said:
    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 Computer

  5. Kari's Avatar
    Posts : 17,113
    Windows 10 Pro
    Thread Starter
       #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 Computer

  6. tracit99's Avatar
    Posts : 568
    Windows 10 Pro 18363.476
       #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 Computer

  7. cereberus's Avatar
    Posts : 11,332
    Windows10
       #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 Computer



 

Tutorial Categories

Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
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 20:13.
Find Us




Windows 10 Forums