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


jimbo45

Well-known member
Power User
VIP
Local time
5:12 PM
Posts
1,885
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

SlicEnDicE

Well-known member
Power User
VIP
Local time
8:12 PM
Posts
1,025
Location
Finland
OS
Windows 11 Pro build 10.0.25179.1000 (Dev Channel)
Yes
 

My Computers

System One System Two

  • OS
    Windows 11 Pro build 10.0.25179.1000 (Dev Channel)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo A485
    CPU
    Ryzen 7 2700U Pro
    Motherboard
    Lenovo
    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
    65W
    Keyboard
    Thinkpad
    Mouse
    Logitech MX Master 2S
    Internet Speed
    600/300Mbit
    Browser
    Edge (Chromium)
    Antivirus
    Windows Defender
    Other Info
    WSA: Installed
    SecureBoot: Enabled
    TPM2.0: Enabled
    AMD-V: Enabled
    VBS: Enabled
    HVCI: Enabled
  • Operating System
    Windows 10 Pro
    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
    PSU
    850W
    Case
    Fractal Design Define 7
    Cooling
    Noctua NH-D15 chromax.black
    Mouse
    Logitech MX Master 2S
    Keyboard
    Logitech G710+
    Internet Speed
    600/300Mbit
    Browser
    Edge (Cromium)
    Antivirus
    Windows Defender
    Other Info
    AC WiFi Card

cereberus

Well-known member
Pro User
VIP
Local time
6:12 PM
Posts
2,249
OS
Windows 10 Pro + others in VHDs
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

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

jimbo45

Well-known member
Power User
VIP
Thread Starter
Local time
5:12 PM
Posts
1,885
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
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

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

SlicEnDicE

Well-known member
Power User
VIP
Local time
8:12 PM
Posts
1,025
Location
Finland
OS
Windows 11 Pro build 10.0.25179.1000 (Dev Channel)

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

System One System Two

  • OS
    Windows 11 Pro build 10.0.25179.1000 (Dev Channel)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo A485
    CPU
    Ryzen 7 2700U Pro
    Motherboard
    Lenovo
    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
    65W
    Keyboard
    Thinkpad
    Mouse
    Logitech MX Master 2S
    Internet Speed
    600/300Mbit
    Browser
    Edge (Chromium)
    Antivirus
    Windows Defender
    Other Info
    WSA: Installed
    SecureBoot: Enabled
    TPM2.0: Enabled
    AMD-V: Enabled
    VBS: Enabled
    HVCI: Enabled
  • Operating System
    Windows 10 Pro
    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
    PSU
    850W
    Case
    Fractal Design Define 7
    Cooling
    Noctua NH-D15 chromax.black
    Mouse
    Logitech MX Master 2S
    Keyboard
    Logitech G710+
    Internet Speed
    600/300Mbit
    Browser
    Edge (Cromium)
    Antivirus
    Windows Defender
    Other Info
    AC WiFi Card
Top Bottom