-
Notifications
You must be signed in to change notification settings - Fork 872
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
--mount support for USB flash drive #9290
Comments
here is a solution: well done |
@zweistein22 kindly ignore my previous question. I found the answer. It doens't have an extension at all. Cheers mate ! |
Same here. |
Mounting the root partition from a Raspberry Pi (connected via USB after running rpiboot) does not work. I get the same error code as above, even though this is an ext4 partition. |
I'm getting the same behavior that andrsmllr mentioned. |
i think we can solve it |
According to thread (actually referenced above) .... The solution in said thread is to use iSCSI emulation to get around limitations of both WSL2 & USB/IP. |
Same issue. Extremely disappointing. 😭 I needed a win today, but no. |
Same issue. |
As a workaround I cloned whole sd card to a file and mounted it with
|
I am getting this error with a microSD card.
|
Same problem for me, trying to access a micro SD card extracted from a Raspberry Pi. I noticed that this SD card has 2 partitions, one of which is formatted as FAT32, and automatically mounted by Windows. |
Same here... kind of disappointing |
I've long ago stopped using WSL2 altogether. I switched to using a VM of a "proper" Linux distro.... Works hella better.... |
Unfortunately, this turned out to not be so easy after I tried to do the same for one particular use case: ROCm (AMD's counterpart to Nvidia's CUDA-and-friends). For this use case, it doesn't work at all. Details
For this particular use case (ROCm via Then again, I am not sure what the performance would be even if I got it to work in a VM: when I gave up on that, and simply fell back to using WSL2, with mounting my physical install and chrooting into it, it took so long to load the module that I didn't even wait for it to load from my NVME. Usually loading a model takes seconds on this same machine under native Linux. This is without even going into what this particular bug #9290 is really about -- mounting ARBITRARY block devices (USB drives, although actually doing it with individual partitions would be even nicer) for purposes of operations such as fixing an install of Raspberry Pi's OS or another Linux install on an external drive. What I finally fell back to is -- simply booting my native install and rolling back the install of the WSL-enabled ROCm PyTorch into just native ROCm PyTorch. It would be nice to be able to switch to Linux without reboot, but alas, it seems it is not meant to be. |
Is your feature request related to a problem? Please describe.
Not able to mount USB flash drive in wsl. It fails to attach to WSL 2. Same issue for NTFS, FAT and exFAT.
Describe the solution you'd like
USB flash drive should be able to mount using wsl --mount command and allow to access from /dev/sdb
Describe alternatives you've considered
NA
Additional context

Windows 11 Home
Version 22H2 OS build 22621.819
The text was updated successfully, but these errors were encountered: