Last active
February 8, 2025 12:40
-
-
Save Vitre/acc8e26e548fc58a39a7731c8107a785 to your computer and use it in GitHub Desktop.
wsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Restart-Service LxssManager | |
wsl.exe --manage Ubuntu --set-sparse true | |
wsl --shutdown | |
optimize-vhd -Path .\ext4.vhdx -Mode full | |
wsl.exe -d Ubuntu-22.04 -u root mount --bind / /mnt/wsl/ubuntu22/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment