Dual-boot inside Native Boot disk


ajgringo619

Active member
Member
Local time
11:54 AM
Posts
46
OS
Windows 11
I have a Hyper-V setup for testing software and development ISOs. For now this works fine, but I find myself needing to run tests on bare metal. I know I can setup my Windows 11 system in a multi-boot setup, but I really want to experiment with Native Boot.

Here's the setup I want to build:
1) Create a dual-boot system in Hyper-V (obviously Windows will be one of the OS's installed)
2) Use that vhdx disk to run with Native Boot

Is this setup even possible? If so, I'd love to here your experiences.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel Core i5-13400F
    Motherboard
    PRIME B760M-A
    Memory
    32 GB
    Graphics Card(s)
    Nvidia 4060
    Sound Card
    On-board
    Monitor(s) Displays
    (2) Acer XD270H B
    Screen Resolution
    1920x1080
    Hard Drives
    (1) M2 1TB
    PSU
    600W
    Case
    Tower
    Cooling
    (3) Case fans
    Keyboard
    Standard
    Mouse
    Standard
    Internet Speed
    250 Mbps
    Browser
    Vivaldi
Here is a good tutorial on the topic of native booting. Note that you don't need Hyper-V (or any hypervisor) for this.

As you had noted, this is great way of testing when you want access to the actual system hardware. It's also easy to remove that second OS. You can literally do so in mere seconds.

 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Hi folks
Theres loads of topics on the forum on this -- you don't even have to use vhdx files for the windows installs either

For your main bootable disk (I'll assume it's Windows with the HYPER-V function enabled) the Disk Geometry should basically look like this:

Host machine EFI partition,MSR,HYPER-V HOST OS- recovery-datapartition for your VM's

The data partition for the VM's i.e the GUEST bootable disk should be ONE efi partition then data 1, data2, data3 etc for the vm's. If using vhdx files for the VM's then one data partition only is needed.

Now simply install your Windows to data1, data2, data3 etc via standard install file (the.exe from the install media) or if using vhdx files use boot the installmedia WITHIN THE GUEST, choose repair windows -->command prompt. Now go into disk part, attach the vhdx file as a disk create a std ntfs partition on it and assign it a letter and then install windows to it using dism /Apply-Image.

If you want to install LINUX as a guest then you will just have to have a non vhdx data area. (Note this is the data area INSIDE the guest as Hyper-V from the HOST will create a "big" vhdx file for the VM's.)

There might be other ways such as Macrium VIboot but I think you have to create the VM's first in any case.

Note also that the above suggestion means that you will get a choice of Windows systems to boot WITHIN the VM which means you can't run them concurrently. If you want to have multiple concurrent VM's then create each one individually and you'll have to choose from the Hyper-V menu what to boot.

It depends on what you want to do with the VM's whether you want to run them concurrently or singly. There's no problem in multiple Windows installs whether you use vhdx files or not.


Incidentally to get round updates on unsupported hardware not working - you can always attach a Real Windows disk as a physical disk to a VM -- change the offending /lacking hardware e.g use TPM emulation if you don't have one, or change the CPU's topography to one supported by W11,boot the disk and and do your updates.

I prefer that method than fiddling around with dll's etc - but in all these things YMMV. This method certainly works using KVM/QEMU as a host --I'm not sure if it's possible to mess around with the Virtual CPU parameters in HYPER-V but there must be some setting somewhere since HYPER-V makes more use of paravirtualisation than KVM/QEMU in typical cases.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Wow - that's a lot of information to process. But thanks a bunch for going to all this effort. I guess I really need to decide what the pros/cons are of Active Boot vs. traditional multi-boot before proceeding.

I've got a ton of reading to do.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Intel Core i5-13400F
    Motherboard
    PRIME B760M-A
    Memory
    32 GB
    Graphics Card(s)
    Nvidia 4060
    Sound Card
    On-board
    Monitor(s) Displays
    (2) Acer XD270H B
    Screen Resolution
    1920x1080
    Hard Drives
    (1) M2 1TB
    PSU
    600W
    Case
    Tower
    Cooling
    (3) Case fans
    Keyboard
    Standard
    Mouse
    Standard
    Internet Speed
    250 Mbps
    Browser
    Vivaldi
Native boot vhdx files enable you to manage spare space more easily without having to change partition sizes.
Removing is easy - delete vhdx file, delete boot entry using msconfig.

With a vhdx, you can run it on host or in a virtual machine if configured correctly (vhdx normally needs separate boot files to boot on a vm).

There is a slight performanced penalty using native vhdx booting but the pros outweigh the cons.

Many here use native boot vhdx files for Insider versions.

Backing up vhdx files is simple - just copy it using File Explorer - no need for image backups (unless if space is at a premium).
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)

Latest Support Threads

Back
Top Bottom