-
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
Unable to set-version to 2 after setting it to 1 (0x80070050) #6928
Comments
/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! |
I get the following error when trying to capture logs, and oddly my feedback hub is missing, when I try to add it via Apps-> Optional features it's nowhere to be found in that list either C:\Users\zhang\Desktop>wpr -start wsl.wprp -filemode
|
@assist726: It looks like the wsl.wprp file you downloaded is corrupted, can you validate that its content matches this ? |
@OneBlue Apologies, did redownload and has seemed to work this time. |
@assist726 : Based on the logs it looks like the VHD already exists. Can you validate if there's already an If you don't know the app family name, you can get it with powershell:
|
@OneBlue Yes there is already a ext4 in the location |
That's why the conversion is failing. I'd recommend making sure that you've backed up all the data you need from that vhd and then either moving it to a different location or deleting it and then try the conversion again. |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Windows Build Number
Microsoft Windows [Version 10.0.21376.1]
WSL Version
Kernel Version
5.10.16
Distro Version
Ubuntu 18.04
Other Software
No response
Repro Steps
I encountered the following error when starting up WSL2 :
WslRegisterDistribution failed with error: 0x80070050
Following online guides I attempted to reset my WSL back to version 1 and then to 2 again as this apparently fixed the issue.
Having now set my WSL to version 1, I now encounter this issue when attempting to reset to 2:
wsl --set-version Ubuntu-18.04 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The supplied install location is already in use.
I would like to use --set-version instead of reinstalling as it seems my data is still store in my ext4 file, and in the Apps list my Ubuntu size is at 20GB. Would be a huge hassle to restore the environment.
Expected Behavior
Be able to set version to 2
Actual Behavior
wsl --set-version Ubuntu-18.04 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
The supplied install location is already in use.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: