Skip to content
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

New disk location lost after wsl --update #184

Open
tadam98 opened this issue Oct 14, 2021 · 0 comments
Open

New disk location lost after wsl --update #184

tadam98 opened this issue Oct 14, 2021 · 0 comments

Comments

@tadam98
Copy link

tadam98 commented Oct 14, 2021

I moved the disk location to another path. After wsl --update it was lost and wsl would not boot.
Apparently, a key under the wsl registry entry Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss called Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\{0de4d55c-8380-473b-8534-654ec5e50a73} BasePath that holds the default folder of ext4.vhdx wsa reset to its default value of C:\Users\Mickey\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState.

I changed it back and all was well.

Not sure what would be a good solution for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant