Question on external USB RAW (physical disks not VHDX ) on HYPER-V


jimbo45

Well-known member
Pro User
VIP
Local time
12:48 PM
Posts
5,861
Location
Hafnarfjörður IS
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Hi folks
for the Windows VM gurus -- HYPER-V question.

Can I attach a physical external USB SSD to a HYPER-V VM, install W11 on it and boot from that physical device whether or not it's set up as a "VHDX" file. Seems if one can overcome the "Virtual disk I/O" one can improve a whole slew of things. I can do it in QEMU/KVM and the USB device boots without issue when running the VM. The bootloader of course still needs to be recognized by the VM software but as it can boot from "Native" USB devices shouldn't be an issue.

Cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
Yes
 

My Computers My Computers

  • At a glance

    Win 11 Pro 25H2 26200.8457 / Linux Mint 22.3Ryzen 7 2700U Pro32GBiGPU Vega 10
    OS
    Win 11 Pro 25H2 26200.8457 / Linux Mint 22.3
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo A485
    CPU
    Ryzen 7 2700U Pro
    Motherboard
    Lenovo (WiFi/BT module upgraded to Intel Wireless-AC-9260)
    Memory
    32GB
    Graphics Card(s)
    iGPU Vega 10
    Sound Card
    Realtek
    Monitor(s) Displays
    14" FHD (built-in) + 14" Lenovo Thinkvision M14t (touch+pen) + 32" Asus PB328
    Screen Resolution
    FHD + FHD + 1440p
    Hard Drives
    Intel 660p m.2 nVME PCIe3.0 x2 512GB
    PSU
    125W(Dock)/65W(Travel Adapter)
    Keyboard
    Thinkpad / Logitech MX Keys
    Mouse
    Logitech MX Master 2S
    Internet Speed
    1/1Gbit
    Browser
    Firefox
    Antivirus
    Windows Defender
    Other Info
    SecureBoot: Enabled
    TPM2.0: Enabled
    AMD-V: Enabled
  • At a glance

    Win 11 Pro 25H2 26200.8521(RP)i7-7700k @4.8GHz32GB 2x16GB 2133MHz CL15EVGA GTX1080Ti FTW 11GB
    Operating System
    Win 11 Pro 25H2 26200.8521(RP)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    i7-7700k @4.8GHz
    Motherboard
    Asus PRIME Z270-A
    Memory
    32GB 2x16GB 2133MHz CL15
    Graphics card(s)
    EVGA GTX1080Ti FTW 11GB
    Sound Card
    Integrated
    Monitor(s) Displays
    32" 10-bit Asus PB328Q
    Screen Resolution
    WQHD 2560x1440
    Hard Drives
    512GB ADATA SX8000NP NVMe PCIe Gen 3 x4
    PSU
    850W
    Case
    Fractal Design Define 7
    Cooling
    Noctua NH-D15 chromax.black
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech MX Master 2S
    Internet Speed
    1/1Gbit
    Browser
    Firefox
    Antivirus
    Windows Defender
    Other Info
    AC WiFi Card
Hi folks
for the Windows VM gurus -- HYPER-V question.

Can I attach a physical external USB SSD to a HYPER-V VM, install W11 on it and boot from that physical device whether or not it's set up as a "VHDX" file. Seems if one can overcome the "Virtual disk I/O" one can improve a whole slew of things. I can do it in QEMU/KVM and the USB device boots without issue when running the VM. The bootloader of course still needs to be recognized by the VM software but as it can boot from "Native" USB devices shouldn't be an issue.

Cheers
jimbo
You can certainly set up a vhdx file on an external drive and boot from it in a Windows 11 VM.

However, not sure if you can install W11 on an external drive (Windows To Go) and get Hyper-V to boot from it.
 

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
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)
You can certainly set up a vhdx file on an external drive and boot from it in a Windows 11 VM.

However, not sure if you can install W11 on an external drive (Windows To Go) and get Hyper-V to boot from it.
Hi there

I ve just tried it -- it won't boot from within the VM (Hyper-V) itself but it actually boots directly from the device so also an easy way to create a Physical W11 install from within a VM -- attach USB device, boot Windows installer, format HDD (disk part, convert GPT etc and all the other stuff) install Windows on it, boot loader and then boot the device.Not sure if this is any better than "Standard install" but I'm sure if I can "Poodle fake" the VM's boot loader it might work. I'm messing around with GRUB currently that can do all sorts of "Magic" stuff with this.

My target ideal is to be able to get 2 or 3 of these essentially Physical Windows OS'es to be able to run concurrently under the guise of a VM.

Cheers
jimbo
 

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2

Hi there

I ve just tried it -- it won't boot from within the VM (Hyper-V) itself but it actually boots directly from the device so also an easy way to create a Physical W11 install from within a VM -- attach USB device, boot Windows installer, format HDD (disk part, convert GPT etc and all the other stuff) install Windows on it, boot loader and then boot the device.Not sure if this is any better than "Standard install" but I'm sure if I can "Poodle fake" the VM's boot loader it might work. I'm messing around with GRUB currently that can do all sorts of "Magic" stuff with this.

My target ideal is to be able to get 2 or 3 of these essentially Physical Windows OS'es to be able to run concurrently under the guise of a VM.

Cheers
jimbo
That is what I just said...just not as in many words. :wink:
 

My Computers My Computers

  • At a glance

    Win 11 Pro 25H2 26200.8457 / Linux Mint 22.3Ryzen 7 2700U Pro32GBiGPU Vega 10
    OS
    Win 11 Pro 25H2 26200.8457 / Linux Mint 22.3
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo A485
    CPU
    Ryzen 7 2700U Pro
    Motherboard
    Lenovo (WiFi/BT module upgraded to Intel Wireless-AC-9260)
    Memory
    32GB
    Graphics Card(s)
    iGPU Vega 10
    Sound Card
    Realtek
    Monitor(s) Displays
    14" FHD (built-in) + 14" Lenovo Thinkvision M14t (touch+pen) + 32" Asus PB328
    Screen Resolution
    FHD + FHD + 1440p
    Hard Drives
    Intel 660p m.2 nVME PCIe3.0 x2 512GB
    PSU
    125W(Dock)/65W(Travel Adapter)
    Keyboard
    Thinkpad / Logitech MX Keys
    Mouse
    Logitech MX Master 2S
    Internet Speed
    1/1Gbit
    Browser
    Firefox
    Antivirus
    Windows Defender
    Other Info
    SecureBoot: Enabled
    TPM2.0: Enabled
    AMD-V: Enabled
  • At a glance

    Win 11 Pro 25H2 26200.8521(RP)i7-7700k @4.8GHz32GB 2x16GB 2133MHz CL15EVGA GTX1080Ti FTW 11GB
    Operating System
    Win 11 Pro 25H2 26200.8521(RP)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    i7-7700k @4.8GHz
    Motherboard
    Asus PRIME Z270-A
    Memory
    32GB 2x16GB 2133MHz CL15
    Graphics card(s)
    EVGA GTX1080Ti FTW 11GB
    Sound Card
    Integrated
    Monitor(s) Displays
    32" 10-bit Asus PB328Q
    Screen Resolution
    WQHD 2560x1440
    Hard Drives
    512GB ADATA SX8000NP NVMe PCIe Gen 3 x4
    PSU
    850W
    Case
    Fractal Design Define 7
    Cooling
    Noctua NH-D15 chromax.black
    Keyboard
    Logitech MX Keys
    Mouse
    Logitech MX Master 2S
    Internet Speed
    1/1Gbit
    Browser
    Firefox
    Antivirus
    Windows Defender
    Other Info
    AC WiFi Card

Latest Support Threads

Back
Top Bottom