Windows 10: Win 10.VHDX native boot....with linux as well?

Discus and support Win 10.VHDX native boot....with linux as well? in Windows 10 Customization to solve the problem; Wondering if this is at all possible. I use Hyper-V and am very impressed of the native boot performance, would it be at all possible to native boot a... Discussion in 'Windows 10 Customization' started by .shrine, Jun 13, 2019 at 5:32 AM.

  1. .shrine Win User

    Win 10.VHDX native boot....with linux as well?


    Wondering if this is at all possible. I use Hyper-V and am very impressed of the native boot performance, would it be at all possible to native boot a linux virtual drive.

    For example, in UEFI I have Windows 10 on my physical drive as option 1, and windows 10 on a virtual drive as option 2. Can I also have the 3rd option of linux as a VHDX?

    :)
     

  2. 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 builds for vhd's I wanted to attach the .vhdx to a virtual machine in Hyper-V (on my main install obviously) and then perform the upgrade process.

    Tried creating a gen 2 machine, attached the .vhdx, didn't boot. Tried attaching an .iso of the Win10 install also, still didn't boot.

    Created a gen 1 machine, with both .vhdx and .iso attached, it booted from the .iso but said no disk drive was detected/installed.

    I tried using the repair computer option, setup couldn't repair it, so loaded up command prompt used diskpart, it picked up the drive, marked the current partition active, and tried to manually enter the following commands:

    bootrec /fixmbr (successful)
    bootrec /fixboot (fail) said something like access denied
    bootrec /rebuildbcd (success)

    Restarted the VM in Hyper-V still not booting from the attached .vhdx nor did the install from .iso detect the drive either.

    Any suggestions as to how I can boot from the vhdx and upgrade the windows installation to build 17760 and then reuse the same .vhdx to boot natively?

    Regards
     
    Seymour Bhutz, Jun 13, 2019 at 5:34 AM
    #2
  3. An App (VMRC 9) Installation error on windows 10 machines with a VHDX native boot

    Hi, everyone.

    I have some problem when installing VMRC 9. I looked up other threads from VMware Community and did everything with no luck. Mine might have different issue which seems to be related to Windows 10 itself rather
    than the app.

    Whenever I tried to install VMRC 9 on my Windows 10 machines with native VHD boot setting, I faced the same error msg as follows;


    Win 10.VHDX native boot....with linux as well? Capture.png


    It is quite weird. I have never encountered this kind of problem when installing any applications. I have been a big fan of Windows VHD native boot feature for several years..

    As I experienced a success with one with Windows 10 1 Year Update Home VHDX installed by chance, I decided to pay the price of a clean installation, but ended up with a failure again.

    Here is what I have tried on 4 different devices.



    Windows 10 Pro
    VHDX
    Failed

    Windows 10 1 Year Update Pro
    VHDX
    Failed

    Windows 10 1 Year Update Home
    VHDX
    Succeeded

    Windows 10 1 Year Update Home
    Native
    Succeeded



    Any suggestion?

    Thanks.
     
  4. Win 10.VHDX native boot....with linux as well?

    Reusing vhdx (native boot) in Hyper-V


    Thanks for the suggestion.

    I created a new machine in hyper-v, tried to install the latest insider builds but it wouldn't boot from them either. Only 17134.1 iso worked. So I installed that instead to get the correct vhdx configuration. However it took 1hr20mins!

    Tried imaging using macrium, at this point I was fed up with waiting and the time element. Thought there must be an easier way.

    Checked the structure of 17134.1 vhdx created in hyper-v, it contained EFI, Windows and Recovery partitions.

    Remembered you stating something about my previous vhdx not having correct boot files.
    (17760 only contained windows partition, no EFI, MSR or Recovery)

    So created a new vhdx (A1) within disk manager, used diskpart following instructions on MSoft website as guidance and adapted to my configuration. https://docs.microsoft.com/en-us/win...ive-partitions

    Deployed .wim to the windows (WWin 10.VHDX native boot....with linux as well? :) partition (A1) and applied bcdboot (from A1) to the EFI (SWin 10.VHDX native boot....with linux as well? :) partition on the vhdx (A1). Attached this vhdx (A1) to vm in hyper-v and booted successfully *Biggrin (Tip, rename the EFI to something like "SystemVHD or SysVHD" to avoid confusion)

    https://docs.microsoft.com/en-us/win...-the-boot-menu

    However, I had an existing vhdx (A2) with build 17760 deployed using dism and installed apps that I wanted to keep then boot in hyper-v to perform the upgrade to 17763. Obviously couldn't create EFI partition since there was one main partition starting from the beginning of the vhdx (A2).

    So I created a new vhdx (A3), 1gb (disk management complains about minimum size for gpt drive), gpt, made EFI and MSR partitions, and while the build 17760 vhdx (A2) was mounted in explorer I used bcdboot (from 17760 vhdx (A2)) to write boot files to this recent EFI (SWin 10.VHDX native boot....with linux as well? :)(A3).

    Ejected both drives, mounted the EFI vhdx (A3) as SCSI (0) and the 17760 vhdx (A2) as SCSI (1), made sure boot order was EFI (A3) first, 17760 (A2) second in the firmware section of vm properties and managed to boot successfully *Biggrin

    Insider upgrade using win update and also from attached iso both initiated and proceeded to install without error.

    Due to the slowness of VM I decided its much quicker to deploy wim to vhdx with each new build and go through setup process than inplace upgrade. Tried a few tweaks in VM to allocate more cores and RAM made a noticeable difference but performance still far below VHD native boot not to mention that I have had enough of hyper-v and VMs.

    Thanks again.
     
    Seymour Bhutz, Jun 13, 2019 at 5:34 AM
    #4
Thema:

Win 10.VHDX native boot....with linux as well?

Loading...
  1. Win 10.VHDX native boot....with linux as well? - Similar Threads - VHDX native boot

  2. Win 10.VHDX native boot....with linux as well?

    in Windows 10 Installation and Upgrade
    Win 10.VHDX native boot....with linux as well?: Wondering if this is at all possible. I use Hyper-V and am very impressed of the native boot performance, would it be at all possible to native boot a linux virtual drive. For example, in UEFI I have Windows 10 on my physical drive as option 1, and windows 10 on a virtual...
  3. Switching to from win 10 to linux

    in Windows 10 Installation and Upgrade
    Switching to from win 10 to linux: hello everyone, I have a question as i have purchased my laptop form dell and my window OS is already installed as it comes in the laptop package and when i check the license key of my window 10 it shows that it is digitally licensed. So i want to ask as currently now i want...
  4. Uninstall Linux dual boot

    in Windows 10 Installation and Upgrade
    Uninstall Linux dual boot: Hello everyone ! I first want to mention thant english is not my first language, so, sorry if I make mistakes and am not clear enough ! I just received a second hand computer with windows10 and linux installed on it. The person I got it to told me it would be easy to get...
  5. 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...
  6. Can't native boot Hyper-V generation 2 vhdx

    in Windows 10 Virtualization
    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...
  7. Where are native Win 10 apps stored?

    in Windows 10 Software and Apps
    Where are native Win 10 apps stored?: Where are native Win 10 apps stored? I can't find the directory into which they are installed. I'm talking about Store, Maps. Netflix, etc. 68669
  8. Dual boot Windows with Linux

    in Windows 10 Installation and Upgrade
    Dual boot Windows with Linux: Is there a tutorial here (I didn't find, so maybe in another place there's a good tutorial?) on how to be able to install both Linux and Windows 10 on my laptop's hard drive? So that when I restart my laptop I will be able to choose from either Windows 10 or Linux? I did...
  9. How to install vhdx image onto win 10 new computer

    in Windows 10 Installation and Upgrade
    How to install vhdx image onto win 10 new computer: Can I install a vhdx image backup file from an old computer (win 10) onto a new one? I no longer have access to the old computer. From my internet reading it would appear that virtualization might be invovled and I've managed to install a virtual machine on the new...
  10. dual-boot Linux

    in Windows 10 Installation and Upgrade
    dual-boot Linux: I have a Lenovo laptop with Windows 10 (upgraded from Windows 8.1), and I'm considering setting it up to dual-boot Linux. I just had a look at the HD with Disk Management, and Lenovo has created 6 partitions (C, D, and 4 hidden partitions). Can I get further help here, or is...