Installed with:
choco install wsl -y
Continued install with: https://docs.microsoft.com/en-us/windows/wsl/install-manual
While moving from WSL 1 to 2, had this pop-up:
Virtual hard disk files must be uncompressed and unencrypted and must not be sparse
... and after a quick Google-Foo:
https://simplernerd.com/wsl2-uncompressed/
- cd ~\AppData\Local\Package\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc
- ii .
- Go to the properties on the directory: LocalState
- Uncheck: "Compress contents to save disk space" and "Encrypt contents to secure data"
- Apply
Then:
- wsl --set-version Ubuntu-20.04 2
- wsl --set-default-version 2
No comments:
Post a Comment