Skip to content

Instantly share code, notes, and snippets.

@b14ck0ps
Created June 13, 2023 18:33
Show Gist options
  • Save b14ck0ps/d8e621d0c7073a8bceb8f7cb0a331fc2 to your computer and use it in GitHub Desktop.
Save b14ck0ps/d8e621d0c7073a8bceb8f7cb0a331fc2 to your computer and use it in GitHub Desktop.
move the vhdx with out any error...

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\{your linux uuid}\BasePath

from default to \?\D:\Path\to\ext4.vhdx , then move ext4.vhdx to that path, reboot WSL2, and it seems work well.

default user: goto /etc/wsl.conf

[user]
default=b14ck0ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment