-
Notifications
You must be signed in to change notification settings - Fork 822
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 failing on Windows 11 - This operation is only supported by WSL2 #7527
Comments
Could you provide the output of |
If I'm not missing something, @jinucompute had included the output at the last part:
BTW, I also have a bare mounted physical drive under wsl2 (ext4 filesystem), which is working correctly, the only inconvenience is that I need to mount it with administrator privileges. |
wsl -l -v
|
/logs |
Hello! Could you please provide more logs to help us better diagnose your issue? You can find instructions on how to attach logs here, please make sure to post the link to the Feedback Hub item in this chat so we can see it. Thank you! |
Apologies folks. This problem is no longer there. Today when i checked in order to generate the logs. I am not sure how the problem resolved, but as of now mounting is working fine for. Once again apologies for this |
I referenced this in another issue, which led me to #7829. After adding myself Administrators group, the mount command completed successfully. Obviously, this is an unfortunate limitation, but at least the issue is somewhat understood now. |
This operation is only supported by WSL2. |
i want to replace wsl2 but i cant! |
I am having the exact problem the original author had. Does not matter whether I'm using an admin account or an admin prompt on a standard account. Using an admin prompt, I get this: C:\Users\pjsch>wsl --mount \.\PHYSICALDRIVE2 C:\Users\pjsch>wsl --status Windows Subsystem for Linux was last updated on 7/25/2022 Kernel version: 5.10.102.1 |
Same here. I have a hunch that we all have Windows 10 and that the correct error message should be "only supported by WSL2 on Windows 11 or higher". Actually, after installing the latest WSL version from the Microsoft Store (as hinted here) and some distribution ( |
Same problem as original author and you guys. I have Windows 11 mind you, not Windows 10, build 22621.1105, well above the minimum version per https://learn.microsoft.com/en-us/windows/wsl/wsl2-mount-disk and I have WSL 2 (wsl --status reports default version 2). |
Same issue on Windows 11, exactly as described by the OP. Updated WSL kernel, rebooted, and issue still persists. I'll update back if I have any luck.
Edit: I tried installing Debian and got error 0x80370102. Guess I'll poke around in my BIOS for virtualization features, though I'd think Ubuntu wouldn't work either if they were off. Okay, enabling virtualization in my BIOS seems to have done the trick as far as the original error goes.
|
I had the same issue and solved it by removing completely wsl from windows (https://pureinfotech.com/uninstall-wsl-windows-11/) and re installed it in administator cmd windows : wsl --install -d debian (ubuntu would do it too) |
Version
Microsoft Windows [Version 10.0.22000.194]
WSL Version
Kernel Version
5.10.60.1
Distro Version
Ubuntu-20.04
Other Software
When i try to run the command
wsl --mount \.\PHYSICALDRIVE5 --bare
I get the following error
This operation is only supported by WSL2.
Repro Steps
Run the command
wsl --mount \.\PHYSICALDRIVE5 --bare
Expected Behavior
Attach the disk to WSL2
Actual Behavior
I get the error
This operation is only supported by WSL2.
Now the default version is set to 2 and the Distro is also version 2
wsl.exe --status
Default Distribution: Ubuntu-20.04
Default Version: 2
Windows Subsystem for Linux was last updated on 12-10-2021
WSL automatic updates are on.
Kernel version: 5.10.60.1
wsl -l -v
NAME STATE VERSION
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: