-
Notifications
You must be signed in to change notification settings - Fork 826
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL --mount will not mount a microSD card #8090
Comments
wsl --mount feature does not support removable media, use USP/IP instead.
|
I did try that before leaving this report. That does not work either. The SD card just doesn't show up in the list. And not sure if it matters, but it isn't a USB SD card reader, but a PCIe one |
I have the same issue on my laptop. SD card reader is not in the USB device list, and I can't mount it. |
This is due to the fact, that there are simply no USB storage drivers in the WSL Kernel. I'm now trying to compile my own kernel according to the usbipd docs, but it's probably faster to just flash ubuntu over your windows machine at this point. I have really no idea why those drivers are not simply compiled into the default kernel. See also many other issues like #8408 |
I am still running into this issue for the Broadcom SD Card reader built into my old Acer laptop.
|
i'm in the same boat now, did you ever find a fix? |
Same issue. I need the feature to access an SD card for a Raspberry Pi and modify some files, but it's not working :( |
Still no support for USB Storage in 2024 it seems. |
The only working solution is to recompile the WSL kernel (5.15.153.1 currently). It's less painful than you think. The full instructions are here: https://www.tomshardware.com/how-to/access-linux-ext4-partitions-in-windows In addition to the instructions above, in order to read Steam Deck SD Cards, you must also enable casefolding support which requires UTF-8 character handling Under "File Systems -> UTF-8 normalization and casefolding support". I hope Microsoft adds USB storage support to newer kernels. |
This may be the same issue, I've got more detail in my issue: #12153 |
Version
22000.527
WSL Version
Kernel Version
5.10.16.3
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Surface Go 1 (Yes I'm aware it doesn't officially support Windows 11)
Insert an unpartitioned microSD card
Run GET-CimInstance -query "SELECT * from Win32_DiskDrive"
wsl --mount \.\PHYSICALDRIVE1
Screenshot
https://i.imgur.com/TqfUBoZ.png
Expected Behavior
SD card gets mounted into WSL2
Actual Behavior
The system cannot find the drive specified
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: