Hi, let's see how to move the WSL from C Drive to D Drive. Run the below command to check the WSL list Create a new folder inside D Drive 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