Windows 10: Can't native boot Hyper-V generation 2 vhdx

Discus and support Can't native boot Hyper-V generation 2 vhdx in Windows 10 Virtualization to solve the problem; If I create a generation 1 VM I can native boot the vhdx by adding bcd entry. If I make a generation 2 VM it fails with "a required device isn't... Discussion in 'Windows 10 Virtualization' started by lx07, Nov 5, 2015.

  1. lx07 Win User

    Can't native boot Hyper-V generation 2 vhdx


    If I create a generation 1 VM I can native boot the vhdx by adding bcd entry. If I make a generation 2 VM it fails with "a required device isn't connected...0xc0000225". Pressing f8 for "Startup Settings" gives "The application or operating system couldn't be loaded because a required file is missing. File \Windows\system32\winload.efi. Error code 0xc0000225"

    This is my BCD entry Code: Windows Boot Loader ------------------- identifier {default} device vhd=[D:]\Hyper-V\Windows-vm3\Virtual Hard Disks\Windows-vm3.vhdx path \WINDOWS\system32\winload.efi description Windows-vm3 locale en-US inherit {bootloadersettings} recoverysequence {2bd3faf9-6091-11e5-86c4-c3a22c898ce3} recoveryenabled Yes isolatedcontext Yes flightsigning Yes allowedinmemorysettings 0x15000075 osdevice vhd=[D:]\Hyper-V\Windows-vm3\Virtual Hard Disks\Windows-vm3.vhdx systemroot \WINDOWS resumeobject {2bd3faf2-6091-11e5-86c4-c3a22c898ce3} nx AlwaysOn bootmenupolicy Standard hypervisorlaunchtype Auto[/quote] and the Hyper-V definition (I've tried with and without secure boot, changing the boot order and removing the separate pagefile drive. It always works on Hyper-V will never boot on native boot.


    Can't native boot Hyper-V generation 2 vhdx [​IMG]


    Conversely if I install windows and turn off the VM before the first reboot I can boot it natively but Hyper-V will not boot (again complains of missing bootloader). The bootloader can't be repaired by bootrec, no valid windows installations are found.

    Windows versions I'm using are 10 Pro build 10240 for host, build 10586 or 10240 for guest.

    Does anyone know if it is possible to native boot a generation 2 VM vhdx and boot it through Hyper-V, the same as you can with generation 1?

    :)
     
    lx07, Nov 5, 2015
    #1
  2. lx07 Win User

    th2_release Enterprise 10586 fails

    The only workaround really is to create a Hyper-V VM, attach your vhdx and then upgrade it.

    You can't upgrade native boot vhdx.
     
    lx07, Nov 5, 2015
    #2
  3. lx07 Win User
    th2_release Enterprise 10586 fails

    It is the intended behavior according to here
    Frequently Asked Questions: Virtual Hard Disks
    "Upgrading the operating system booted from a VHD. If you boot from a VHD, you cannot upgrade the Windows version in the VHD to a newer version."

    You can both native boot and run the same vhdx in hyper-v (I do). If you have 2 installs on vhdx you can use each one to update the other... Otherwise with a normal install (not vhdx) on the same hardware you can install hyper-v, create a VM using the
    existing vhdx and then upgrade it.

    No idea the reason for the restriction but it has always been like that as far as I know.
     
    lx07, Nov 5, 2015
    #3
  4. Dude Win User

    Can't native boot Hyper-V generation 2 vhdx

    How much HD space have you allotted. It needs to be able to expand to the full size during boot.
     
    Dude, Nov 6, 2015
    #4
  5. lx07 Win User
    It's only 20GB maximum - I have space for it to expand to full size..
     
    lx07, Nov 6, 2015
    #5
  6. Dude Win User
    I would try at least 40gb, always worked for me in hyper-v at that size.
     
    Dude, Nov 6, 2015
    #6
  7. lx07 Win User
    lx07, Nov 6, 2015
    #7
  8. lx07 Win User

    Can't native boot Hyper-V generation 2 vhdx

    That was it - bcd was created wrong method for UEFI vhdx.

    In case it helps...

    For generation 1:
    • bcdedit /copy {default} /d "Boot from Foobar.vhdx"
    • bcdedit /set {guid} device vhd="[D:]\VHDs\Foobar.vhdx" (replacing guid with the generated guid and D with the drive the vhdx is on)
    • bcdedit /set {guid} osdevice vhd="[D:]\VHDs\Foobar.vhdx"
    • bcdedit /set {guid} detecthal on
    For generation 2:
    • mount vhdx
    • bcdboot F:\Windows (replacing F with the drive it vhdx is mounted to)
    • bcdedit /set {default} description "Boot from Foobar.vhdx"
     
    lx07, Nov 7, 2015
    #8
  9. Dude Win User
    Glad you got it working right.
     
    Dude, Apr 5, 2018
    #9
Thema:

Can't native boot Hyper-V generation 2 vhdx

Loading...
  1. Can't native boot Hyper-V generation 2 vhdx - Similar Threads - Can't native boot

  2. How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?

    in Windows 10 Gaming
    How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?: I was wondering if I could upgrade my native booted Windows 11, version 22H2 to the newest build, version 24H2 with Hyper-V because according to TenForums, "Notice that you can update Windows on the natively booted VHD normally, install software, do everything else but you...
  3. How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?

    in Windows 10 Software and Apps
    How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?: I was wondering if I could upgrade my native booted Windows 11, version 22H2 to the newest build, version 24H2 with Hyper-V because according to TenForums, "Notice that you can update Windows on the natively booted VHD normally, install software, do everything else but you...
  4. How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?

    in Windows 10 Installation and Upgrade
    How to upgrade a Native booted VHDX running Windows 11 22H2 to 24H2 with Hyper-V?: I was wondering if I could upgrade my native booted Windows 11, version 22H2 to the newest build, version 24H2 with Hyper-V because according to TenForums, "Notice that you can update Windows on the natively booted VHD normally, install software, do everything else but you...
  5. Issue with Generation 2 Hyper-V machines

    in Windows 10 Software and Apps
    Issue with Generation 2 Hyper-V machines: For several weeks, I have been encountering a problem in the migration process of our virtual machines VMs from an Azure host to VMware cloud director. During the migration, all Hyper-V VMs that use SCSI disks fail to start. After consulting various forums, I suspect that the...
  6. Issue with Generation 2 Hyper-V machines

    in Windows 10 Gaming
    Issue with Generation 2 Hyper-V machines: For several weeks, I have been encountering a problem in the migration process of our virtual machines VMs from an Azure host to VMware cloud director. During the migration, all Hyper-V VMs that use SCSI disks fail to start. After consulting various forums, I suspect that the...
  7. Issue with Generation 2 Hyper-V machines

    in Windows 10 Drivers and Hardware
    Issue with Generation 2 Hyper-V machines: For several weeks, I have been encountering a problem in the migration process of our virtual machines VMs from an Azure host to VMware cloud director. During the migration, all Hyper-V VMs that use SCSI disks fail to start. After consulting various forums, I suspect that the...
  8. Reusing vhdx (native boot) in Hyper-V

    in Windows 10 Virtualization
    Reusing vhdx (native boot) in Hyper-V: Hey all, I created a .vhdx in disk management, initialised, new volume and formatted. Deployed Win 10 Insider 17754 to it using dism /apply-image etc. Updated the bcd store on main OS, booted to .vhdx natively no issues. Now since MSoft doesn't allow the upgrade to newer...
  9. Reusing vhdx (native boot) in Hyper-V

    in Windows 10 Installation and Upgrade
    Reusing vhdx (native boot) in Hyper-V: Hey all, I created a .vhdx in disk management, initialised, new volume and formatted. Deployed Win 10 Insider 17754 to it using dism /apply-image etc. Updated the bcd store on main OS, booted to .vhdx natively no issues. Now since MSoft doesn't allow the upgrade to newer...
  10. Hyper-V - Native Boot VHD

    in Windows 10 Tutorials
    Hyper-V - Native Boot VHD: How to: Hyper-V - Native Boot VHD [img] Information First a quote from Microsoft Developer Network's (MSDN) support article: Native Boot allows you to create a virtual hard disk (VHD), install Windows to it, and then boot it up, either on your PC side-by-side with...
Tags:

Users found this page by searching for:

  1. nu vot

    ,
  2. Boot from Foobar.vhdx

    ,
  3. create bootable hyper-V generation 2 vhdx