Windows 10: Native VHDX boot - Windows won't use a pagefile

Discus and support Native VHDX boot - Windows won't use a pagefile in Windows 10 Software and Apps to solve the problem; Right now I'm booting off of a VHDX file natively. Works great, except no matter what I do, Windows won't create or use a page file! I did some... Discussion in 'Windows 10 Software and Apps' started by Entegy, Oct 19, 2022.

  1. Entegy Win User

    Native VHDX boot - Windows won't use a pagefile


    Right now I'm booting off of a VHDX file natively. Works great, except no matter what I do, Windows won't create or use a page file! I did some research, and unlike when the VHDX is booted in Hyper-V, native VHDX boot won't put hiberfil.sys, pagefile.sys, and swapfile.sys on C:\, the VHDX file. Fine, fair enough.But every time I boot from the VHDX, the advanced system options menu opens, and says no page file is created. If I set a pagefile on the physical disk volume, the pagefile.sys will be created, and the timestamp will be updated, but then never used. The only thing I haven't done is try

    :)
     
    Entegy, Oct 19, 2022
    #1
  2. cereberus Win User

    Native booting vhdx file not working

    Testing in a virtual machine will not work unless the vhdx has boot files.

    All you need to do to native boot vhdx file is

    1. Boot to Windows.

    2. Attach vhdx file from disk management.

    3. Note the drive letter of windows in attached vhd.

    4. Type following

    bcdboot #:\windows

    where # is drive letter from step 3.
     
    cereberus, Oct 19, 2022
    #2
  3. jabbawok Win User
    Native booting vhdx file not working

    Done all that. The problem seems to be with the vhdx file being located on another drive. It works fine from the primary drive, which is no good for my strategy.

    I found a post on another forum where it was suggested to use mount point GUID instead of drive letters in the bcdedit command as the drive letters of other disks may not be assigned at the time. If you can explain how to do that I'd be grateful.
     
    jabbawok, Oct 19, 2022
    #3
  4. Native VHDX boot - Windows won't use a pagefile

    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, Oct 19, 2022
    #4
Thema:

Native VHDX boot - Windows won't use a pagefile

Loading...
  1. Native VHDX boot - Windows won't use a pagefile - Similar Threads - Native VHDX boot

  2. Native VHDX boot - Windows won't use a pagefile

    in Windows 10 Gaming
    Native VHDX boot - Windows won't use a pagefile: Right now I'm booting off of a VHDX file natively. Works great, except no matter what I do, Windows won't create or use a page file! I did some research, and unlike when the VHDX is booted in Hyper-V, native VHDX boot won't put hiberfil.sys, pagefile.sys, and swapfile.sys on...
  3. Native booting vhdx file not working

    in Windows 10 Virtualization
    Native booting vhdx file not working: I've been trying to native boot Win10 on a vhdx virtual disk. I'm following this guide: You are being redirected.... Everything seems to work as it should. But when I reboot the system the following error is shown: [img] I'm testing this in a VMWare VM with UEFI boot and...
  4. DualBoot Windows 10 with native boot on vhdx file.

    in Windows 10 Virtualization
    DualBoot Windows 10 with native boot on vhdx file.: hello everyone, I need to try cortana reminders on the 2004 version. I have vmware but I would like to try to install on my hardware if possible with a dual boot. I would like to use native boot on vhdx file. I have seen tutorials and I have partially prepared a dos...
  5. 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...
  6. Is it possible to native boot a vhdx after dual booting linux?

    in Windows 10 Virtualization
    Is it possible to native boot a vhdx after dual booting linux?: I want to install linux on a separate nvme and still boot natively to vhdx's that I will add to the windows boot manager with one normal windows on a separate nvme. Is this possible or does grub completely replace the windows boot manager altogether. 144144
  7. Is it possible to native boot a vhdx after dual booting linux?

    in Windows 10 Installation and Upgrade
    Is it possible to native boot a vhdx after dual booting linux?: I want to install linux on a separate nvme and still boot natively to vhdx's that I will add to the windows boot manager with one normal windows on a separate nvme. Is this possible or does grub completely replace the windows boot manager altogether. 144144
  8. 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...
  9. Win 10.VHDX native boot....with linux as well?

    in Windows 10 Customization
    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...
  10. 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...