LxRunOffline icon indicating copy to clipboard operation
LxRunOffline copied to clipboard

New disk location lost after wsl --update

Open tadam98 opened this issue 2 years ago • 0 comments

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.

tadam98 avatar Oct 14 '21 06:10 tadam98