Windows 10: Fun trying to convert an existing install to a vhd!

Discus and support Fun trying to convert an existing install to a vhd! in Windows 10 Virtualization to solve the problem; @, about your issues: the Disk2VHD tutorial, it's Part Three shows you what to do if you used Disk2VHD to create a VHD of a GPT partitioned system.... Discussion in 'Windows 10 Virtualization' started by cereberus, Aug 6, 2016.

  1. cereberus Win User

    Fun trying to convert an existing install to a vhd!


    Surely I need to use a GPT vhd surely as I am UEFI based?

    I was not trying to run it in Hyper-V but have it as native boot

    My issue is more likely due to a glitch somewhere. I have added VHDs many times using bcdboot as a dual boot option. For some reason I cannot fathom out, it does not like one reduced in size as I described earlier. AS LX07 says it should work fine, and I agree it should.

    As I said. I have solved my problem - I was just curious more than anything as to why I was having problems. In the end, if a method works, then it is not a big deal even if I took the scenic route to get to the answer.

    Thanks very much for the valuable information as always.
     
    cereberus, Aug 8, 2016
    #16
  2. Kari Win User

    First, it's irrelevant, totally irrelevant what partitioning system your host and a VHD used in native boot are using. A GPT host can add and use a MBR VHD in native boot, and an MBR host can add and use a GPT VHD.

    Second, the Part Three in tutorial I linked shows how to convert a GPT VHD made with Disk2VHD to MBR. It's the easiest, simplest and fastest way to do the conversion and then be able to use the Disk2VHD vhd file in either a virtual machine or in native boot.

    A GPT VHD made with Disk2VHD cannot be used as it is on virtual machine or native boot. Converting it to MBR makes things easy.

    It's of course totally your own business how you do it, main thing is to succeed. I was simply telling about an option that makes it easy.
     
  3. x509 Win User
    Kari,

    I want to make sure I understand what you said. I'm staring to use Hyper-V for virtual machines.

    If I create a VHD, it doesn't matter if the host is MBR and the VHD is GPT, if both are GPT, if both are MBR, or if the host is GPT but the VHD is MBR.

    If all that is correct, then why does a VHD created with Disk2VHD have to be MBR to be directly bootable? *Confused
     
  4. Kari Win User

    Fun trying to convert an existing install to a vhd!

    Because when you create a VHD with Disk2VHD from a GPT disk, it does not recognize and include the EFI System Partition in VHD it creates.

    You have to remember that Disk2VHD is although still a powerful tool quite an old program. When originally coded all systems were BIOS & MBR, the program "learned" that to make a bootable VHD it needed to include the first partition on first hard disk (System Reserved partition in MBR) which contains the boot records in addition to OS and possible data partitions selected by user.

    It's still using this same principle even on GPT disks. Disk2VHD includes the first partition of the first disk which it assumes contains the boot records but on GPT disk it is just a Recovery Partition (yellow highlight in screenshot below) but ignores the next partition (EFI System Partition) which on GPT disks actually is the one with boot records (red highlight):


    Fun trying to convert an existing install to a vhd! [​IMG]

    (Click to enlarge.)

    This results a totally working but not bootable VHD. The user now has two methods to make it bootable and use it on vm or native boot, either convert it to MBR or manually create the EFI system partition and boot records on it. I prefer the conversion method because it is so incredibly easy and simple.
     
  5. x509 Win User
    Thanks for this explanation. Very clear.
     
Thema:

Fun trying to convert an existing install to a vhd!

Loading...
  1. Fun trying to convert an existing install to a vhd! - Similar Threads - Fun trying convert

  2. Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

    in Windows 10 Gaming
    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI: Convert an existing Windows 10 Installation from Legacy BIOS to UEFI without using 3rd party software. https://answers.microsoft.com/en-us/windows/forum/all/convert-an-existing-windows-10-installation-from/d58e3a80-2d7b-46d5-af56-1fc7958ac53c
  3. Convert an existing Windows 10 Installation from Legacy BIOS to UEFI

    in Windows 10 Software and Apps
    Convert an existing Windows 10 Installation from Legacy BIOS to UEFI: Convert an existing Windows 10 Installation from Legacy BIOS to UEFI without using 3rd party software. https://answers.microsoft.com/en-us/windows/forum/all/convert-an-existing-windows-10-installation-from/d58e3a80-2d7b-46d5-af56-1fc7958ac53c
  4. convert a VMDK into a VHD ?

    in Windows 10 Customization
    convert a VMDK into a VHD ?: Is there any manual way to convert a VMDK to a VHD ?I have tried all the tools Starwind, Winimage, disk2vhd etc they all generate a VHD file but when I create a ne Virtual Computer & attach the disk none works.I get repeated errors "The virtual machine "New Virtual Machine"...
  5. Can't convert a VHDX with Convert-VHD in PowerShell or in Hyper-V Manager

    in Windows 10 Installation and Upgrade
    Can't convert a VHDX with Convert-VHD in PowerShell or in Hyper-V Manager: I have a VHDX file that is an image of the system drive in a new laptop, created with Diskpart version 10.0.19041.1: create vdisk file="D:\PC_Original.vhdx" type=expandable source="\\.\physicaldrive0" If this is successful it was, I should be able to store and work with...
  6. Hi there! I wan't to ask how to convert a .vhd to a .wim i tried gimagex but it says that...

    in Windows 10 Ask Insider
    Hi there! I wan't to ask how to convert a .vhd to a .wim i tried gimagex but it says that...: [ATTACH] submitted by /u/shuffelplay5 [link] [comments] https://www.reddit.com/r/Windows10/comments/g4sno6/hi_there_i_want_to_ask_how_to_convert_a_vhd_to_a/
  7. How to convert VHD to VHDX using Hyper-V Manager

    in Windows 10 News
    How to convert VHD to VHDX using Hyper-V Manager: [ATTACH]If you have a VHD file and you want to convert it to VHDX format, you can use Hyper-V Manager to get it done. This […] This post How to convert VHD to VHDX using Hyper-V Manager is from TheWindowsClub.com. read more...
  8. How to convert Hyper-V VHDX file to VHD using PowerShell

    in Windows 10 News
    How to convert Hyper-V VHDX file to VHD using PowerShell: [ATTACH] [ATTACH]If you have a VHDX file and you want to make it compatible with some other virtual machine that supports VHD format, then this post shows, how you can convert the Hyper-V VHDX file to VHD using Windows PowerShell so [...] This post How to convert Hyper-V...
  9. VHD

    in Windows 10 Drivers and Hardware
    VHD: just a small question. can i delete a vhd after i hv mounted it permanently? https://answers.microsoft.com/en-us/windows/forum/all/vhd/deab598a-d7fe-4c5c-ace2-91003242d580
  10. Convert Physical Disk to Windows to Go by VHD, Boot Error

    in Windows 10 Virtualization
    Convert Physical Disk to Windows to Go by VHD, Boot Error: Hey guys, I'm stuck in this dilemma and I would appreciate any help that would come. I'm sorry, I though that maybe since my problem is about Virtual Hard Disks then maybe this is the right section... Correct me if I'm wrong *Smile So here's the thing, 1. I have Windows...