How to move WSL from one drive to another drive
Hi, let's see how to move the WSL from C Drive to D Drive.
Run the below command to check the WSL list
Run command wsl --export Ubuntu D:\wsl\ubuntu.tar to export ubuntu as tar file to D drive
Un register ubuntu, using command wsl --unregister Ubuntu
Move the ubuntu from the tar file to D Drive
Run the below command to set ubuntu as default distro
Run the below command to view the list of wsl distro.
Now, we can see the ext4 file is moved to the D Drive.
Thank you!.
Comments
Post a Comment