Moving-WSL-Distribution-to-Another-Drive
Moving-WSL-Distribution-to-Another-Drive copied to clipboard
Step 5: Important step to mount back to the /home/<username>/ of the current existing wsl after moving
I have followed through your steps and figured out that the step 5 is extremely important to mount back the vhdx of wsl2 to what has been installed and configured in the /home/
I think you should mark the step 5 is important for people who has had the current wsl2 on default C: drive and want to move to another drive, the step is necessary to bring back all set up. Thanks
Totally agree, step 5 is not really optional...
indeed.
I tried to execute this step but it fails
I tried to execute this step but it fails
I think you have to use your WSL username...
I tried to execute this step but it fails
use this in PowerShell and change me into your former name in the wsl
Hiya. How can I check if I successfully moved the wsl Linux distro into my desired windows drive?
Hiya. How can I check if I successfully moved the wsl Linux distro into my desired windows drive?
Go to Powershell and run:
Get-ChildItem "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lxss" -Recurse
It will list all the distributions you have installed, and you can check the BasePath property to verify the installation drive
Done ..

