move-wsl | Easily move your WSL distros VHDX file to a new location
kandi X-RAY | move-wsl Summary
kandi X-RAY | move-wsl Summary
Bash, batch and PowerShell script to move WSL 1 and WSL 2 distros VHDX file to a different location.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of move-wsl
move-wsl Key Features
move-wsl Examples and Code Snippets
Community Discussions
Trending Discussions on move-wsl
QUESTION
I recently moved my wsl
directory to another drive due to low storage in C:
drive. As per the answer provided in this StackOverflow post, I used lxrunoffline
tool and moved my Ubuntu distribution to another drive (E:\wsl
in my case). As soon as the distribution was moved successfully, I ran wsl
to test and it worked like a charm.
Everything went fine until one day I accidentally renamed the E:\wsl
folder to something else. Well, as expected, wsl
didn't work. Then, I reverted back to the name wsl
and expected it to work but to my surprise, it didn't find any installed distribution after that even though it's installed...
ANSWER
Answered 2019-Aug-11 at 13:59Well, I finally found a solution to this problem.
This is as simple as registering the distribution using lxrunoffline
tool using the rg
or register
command.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install move-wsl
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page