Windows 10: Upgading OS in a VHD.

Discus and support Upgading OS in a VHD. in Windows 10 Installation and Upgrade to solve the problem; I know that you cannot upgrade OS in a VHD without importing VHD into Hyper-V. @Kari showed a way of doing this with mbr format, but I would prefer... Discussion in 'Windows 10 Installation and Upgrade' started by cereberus, Sep 24, 2018.

  1. cereberus Win User

    Upgading OS in a VHD.


    I know that you cannot upgrade OS in a VHD without importing VHD into Hyper-V.
    @Kari showed a way of doing this with mbr format, but I would prefer using UEFI.

    This means the vhd also needs an EFI partition in the vhd.

    This set me thinking. The efi partition does not need to be on same drive as the OS as we know.

    So I am thinking, I could install EFI on one vhd, and OS on another and it should boot in the vm? May need to use Macrium Reflect Fix boot problems link..

    This is a more academic question but it does mean if have a vhd without the EFI partition, I do not have to mess around adding efi partition to vhd?

    :)
     
    cereberus, Sep 24, 2018
    #1

  2. Windows 10 VHD Native Boot Installation--Officially Supported?

    We run our Windows 10 dev environments using Native Boot/Boot to VHD. In fact, a couple of my co-workers are running Fall Creators update with no issues. The main things you need to look out for when using Native Boot are:

    • VHD: Make sure you build the image with the correct generation for your hardware in Hyper-V (Generation 1 for legacy BIOS systems, Generation 2 for UEFI)
    • Drivers: Some newer computers use M.2 drives/specialized RAID controllers for it's primary drive. A typical bare metal installation will install those drivers during setup, but since Hyper-V emulates a different set of hardware, the drivers
      won't be present.

      For example, on some corporate Dell laptops, they are using two M.2 SSD drives in a RAID configuration. The drivers weren't included as part of the standard Windows 10 installation. To get the VHD working with Native Boot, I had to download the drivers from
      Dell's website, and install them to the image's driver store using the Deployment Image Servicing and Management (DISM) tool, which is built into Windows (E:\ is where I mounted the VHD in my host OS, and I copied the drivers to E:\Raid):

      dism /image:E:\ /add-driver /driver:E:\Raid\iaAHCIC.inf

      dism /image:E:\ /add-driver /driver:E:\Raid\iaStorAC.inf

      Once the drivers were installed in the driver store, I re-attempted Native Boot, the kernel was able to load the driver, the image booted successfully.
    • Major OS updates have to be done in Hyper-V: With a Native Boot setup, BOOTMGR/NTLDR and your BCD configuration reside within your host OS partition. While Windows PE (Pre-installation Environment) can find that information, it only supports
      installation to a physical partition (VHD's aren't suported.) That being said, once you perform the OS upgrade in Hyper-V, you may need to re-install drivers, as well as fix your BCD entries as needed. I've also had issues with images not booting due to
      the host OS using an older/unsupported version of BOOTMGR/NTLDR. That can be fixed by booting into your host OS, mounting the VHD, and running the \Windows\system32\bootsect.exe command from your VHD against your host OS's boot partition (E:\ is where I mounted
      the VHD in my host OS):

      E:\Windows\system32\bootsect.exe /nt60 C: /mbr

    Hopefully this information helps anyone else trying to get their VHD's to Native Boot successfully.
     
    ComputerWhiz, Sep 24, 2018
    #2
  3. VHD

    How exactly did you manage to create a 1 TByte VHD on a 300 GByte disk?
     
    Frederik Long, Sep 24, 2018
    #3
  4. Upgading OS in a VHD.

    VHD to virtual PC

    does anyone know of an easy way to convert a VHD made using an old backup into a virtual PC
     
    theoneandonlymrk, Sep 24, 2018
    #4
Thema:

Upgading OS in a VHD.

Loading...
  1. Upgading OS in a VHD. - Similar Threads - Upgading VHD

  2. My display support HDR but Windows says it does not after upgading to Windows 11.

    in Windows 10 Gaming
    My display support HDR but Windows says it does not after upgading to Windows 11.: I have an LG C1 and Samsung Odyssey monitor, both are HDR capable and HDR worked with no issue in Windows 10. Upgrading to Windows 11 the display settings say neither display is HDR capable which is not true. I can turn HDR in game and HDR works in that game only, I cannot...
  3. My display support HDR but Windows says it does not after upgading to Windows 11.

    in Windows 10 Software and Apps
    My display support HDR but Windows says it does not after upgading to Windows 11.: I have an LG C1 and Samsung Odyssey monitor, both are HDR capable and HDR worked with no issue in Windows 10. Upgrading to Windows 11 the display settings say neither display is HDR capable which is not true. I can turn HDR in game and HDR works in that game only, I cannot...
  4. My computer was bought four years ago how can I upgade mother board to install windows 11...

    in Windows 10 Gaming
    My computer was bought four years ago how can I upgade mother board to install windows 11...: My computer was bought four years ago how can I upgade mother board to install windows 11 or I have to switch to new pc. I have a The Intel Core i5-6400T CPU...
  5. My computer was bought four years ago how can I upgade mother board to install windows 11...

    in Windows 10 Software and Apps
    My computer was bought four years ago how can I upgade mother board to install windows 11...: My computer was bought four years ago how can I upgade mother board to install windows 11 or I have to switch to new pc. I have a The Intel Core i5-6400T CPU...
  6. My computer was bought four years ago how can I upgade mother board to install windows 11...

    in Windows 10 Installation and Upgrade
    My computer was bought four years ago how can I upgade mother board to install windows 11...: My computer was bought four years ago how can I upgade mother board to install windows 11 or I have to switch to new pc. I have a The Intel Core i5-6400T CPU...
  7. Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?

    in Windows 10 Gaming
    Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?: I bought Win7 in 2009 and got a product key. I was under the impression I could use that to upgrade to Win 10. The laptop I had at the time is long gone. The next laptop came with an OEM Win 10. Now I am about to buy a new one. I'd like to save a some money and buy it without...
  8. Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?

    in Windows 10 Software and Apps
    Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?: I bought Win7 in 2009 and got a product key. I was under the impression I could use that to upgrade to Win 10. The laptop I had at the time is long gone. The next laptop came with an OEM Win 10. Now I am about to buy a new one. I'd like to save a some money and buy it without...
  9. Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?

    in Windows 10 Installation and Upgrade
    Can I use my Win7 Ultimate key to install/upgade to Win10 on new PC?: I bought Win7 in 2009 and got a product key. I was under the impression I could use that to upgrade to Win 10. The laptop I had at the time is long gone. The next laptop came with an OEM Win 10. Now I am about to buy a new one. I'd like to save a some money and buy it without...
  10. Upgaded to Windows 7 to 10, but activation not working.

    in Windows 10 Updates and Activation
    Upgaded to Windows 7 to 10, but activation not working.: I upgraded my Windows 7 laptop to windows 10, but the activation is not working. I tried troubleshooting, but nothing. Change product key, nothing. I tried searching the web, and looked up tutorials, but NOTHING. ------------------------------"We can't activate Windows on...

Users found this page by searching for:

  1. upgading windows 10 in a vhd