DDoSolitary / LxRunOffline

A full-featured utility for managing Windows Subsystem for Linux (WSL)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New disk location lost after wsl --update

tadam98 opened this issue · 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.