WSL can't properly mount USB drives
-
I go to mount my USB SD reader under WSL, and it gives me an error. It's an unformatted disk and I intend to use the gdisk tools - specifically sgdisk to partition it. I need to put files in very particular locations on the SD card. WSL freaks out on me during the
wsl --mount \\.\PHYSICALDRIVE2 --bare
I start digging around, and come to find out there's a way to do it if you can figure out how to add iSCSI modules to the linux kernel. It's not easy, because Microsoft uses a custom kernel for it. So here's me, with a hypervisor system already, installing VMWare player and Debian 12 just so I can copy a few files. But in order to get my workflow in order I'll need to set up this dev environment in the new VM. All of this because WSL is half baked in areas. Not pleased, Microsoft.Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
-
I go to mount my USB SD reader under WSL, and it gives me an error. It's an unformatted disk and I intend to use the gdisk tools - specifically sgdisk to partition it. I need to put files in very particular locations on the SD card. WSL freaks out on me during the
wsl --mount \\.\PHYSICALDRIVE2 --bare
I start digging around, and come to find out there's a way to do it if you can figure out how to add iSCSI modules to the linux kernel. It's not easy, because Microsoft uses a custom kernel for it. So here's me, with a hypervisor system already, installing VMWare player and Debian 12 just so I can copy a few files. But in order to get my workflow in order I'll need to set up this dev environment in the new VM. All of this because WSL is half baked in areas. Not pleased, Microsoft.Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
Same problem when trying to use USB devices with Hyper-V, we tried to use an "EV Token" USB dongle for signing purposes but that is not possible with Hyper-V. There seem to be some 3rd-party solutions however.