[SOLVED] Mediacreationtool Windows did not work via USB Passthrough

fireon

Distinguished Member
Oct 25, 2010
4,156
393
153
42
Austria/Graz
Hello all,


i use USB passthrough in many places and it always worked until now. What strangely does not work is to create a bootable Windows USB stick with the Mediacreationtool. The tool aborts every time (unknown error). The same happens when I pass a stick via Spice.

Does such a tool need any special settings?

pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-6-pve)

Code:
agent: 1,fstrim_cloned_disks=1
bios: ovmf
boot: order=sata0;scsi0
cores: 6
cpu: host
efidisk0: SSD-secure:vm-102-disk-2,efitype=4m,pre-enrolled-keys=1,size=1M
hotplug: disk,network,usb,cpu
machine: pc-q35-6.2
memory: 6144
meta: creation-qemu=6.2.0,ctime=1656281676
name: badboy.osit.cc
net0: virtio=02:FA:C4:89:4C:38,bridge=vmbr0
numa: 1
onboot: 1
ostype: win11
rng0: source=/dev/urandom
sata0: none,media=cdrom
scsi0: SSD-secure:vm-102-disk-0,discard=on,iothread=1,size=60G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=d65e03ca-c909-49f2-9e71-d2d22b9ecf13
sockets: 1
tags: Microsoft
tpmstate0: SSD-secure:vm-102-disk-1,size=4M,version=v2.0
usb0: spice,usb3=1
usb1: host=1b8f:033f,usb3=1
vga: qxl,memory=128

Very Thanks
Fireon
 
Last edited:
You can just choose dvd / iso inside the media creation tool, why didnt you just do that?,
this will give you a clean iso file you can just upload to your proxmox storage "local" and then use to create vms.
 
  • Like
Reactions: leesteken
USB passthrough does not work well for high bandwidth or low latency. I assume writing a bootable USB is just too much. I assume that it will work with PCIe passthrough of a whole USB controller, but that comes with its own set of caveats. Maybe USB/IP would work but that requires manual set-up.
 
  • Like
Reactions: Anotheruser
USB passthrough does not work well for high bandwidth or low latency. I assume writing a bootable USB is just too much. I assume that it will work with PCIe passthrough of a whole USB controller, but that comes with its own set of caveats. Maybe USB/IP would work but that requires manual set-up.
I actually tried to use proxmox usb passthrough on an inject station for cameras in the past and from what i remember we had three options,
  1. Use device passthrough, didnt work at all
  2. Passing through the entire port, actually kinda worked, just make sure usb 3.0 box is checked, but still had occasional disconnects
  3. Getting a dedicated usb pcie card and passing that through, worked perfectly, so i would recommend you doing that if you do stuff like that frequently. They are also super cheap, like 15$ and you even get them for pcie x1
 
You can just choose dvd / iso inside the media creation tool, why didnt you just do that?,
this will give you a clean iso file you can just upload to your proxmox storage "local" and then use to create vms.
I don't need it for proxmox, only for a normal PC installation. ;)

Getting a dedicated usb pcie card and passing that through, worked perfectly, so i would recommend you doing that if you do stuff like that frequently. They are also super cheap, like 15$ and you even get them for pcie x1
Very good tip, that's what I'll do.

In the meantime, I created the stick manually. That works quite well.
 
Getting a dedicated usb pcie card and passing that through, worked perfectly, so i would recommend you doing that if you do stuff like that frequently. They are also super cheap, like 15$ and you even get them for pcie x1
Very good tip, that's what I'll do.
Many (cheap) USB controllers don't reset properly or otherwise don't work well with PCI(e) passthrough. It might not be easy to find one unless you get the exact same make and model that has been reported to work with passthrough. Please search this forum and others for ones that are known to work.
 
  • Like
Reactions: fireon

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!