Skip to content

New disk location lost after wsl --update #184

Open
@tadam98

Description

@tadam98

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions