-
Notifications
You must be signed in to change notification settings - Fork 841
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
Error code: Wsl/Service/AttachDisk/E_INVALIDARG #11317
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
/logs |
Thank you @HadiSDev. Looks like you're trying to mount a vhd file. Does this work for you ?
|
I get this now: |
Does your user account have permission to edit this file ? You can also try as administrator. |
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-file it as a new issue. Thank you! |
Windows Version
Microsoft Windows [Version 10.0.23620.1000]
WSL Version
WSL version: 2.1.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
No response
Other Software
No response
Repro Steps
Try to attach a vhdx file with mount command:
wsl --mount I:\WSLDistro.vhdx
Expected Behavior
Should just attach the disk file with no issue
Actual Behavior
The parameter is incorrect.
Error code: Wsl/Service/AttachDisk/E_INVALIDARG
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: