Install WSL on Another Drive in Windows 10

https://www.jianshu.com/p/f5499a7388b2

Download Ubuntu https://docs.microsoft.com/zh-cn/windows/wsl/install-manual

Rename to zip, extract

Run ubuntu.exe as administrator



Usage

When you need to start the subsystem, directly execute ubuntu1804.exe or ubuntu1804 in the command line. You can also directly execute the bash command, which will start the default subsystem.

To modify the default subsystem, you can use wslconfig:

PS A:\Ubuntu\Ubuntu> wslconfig /list /all
Windows Subsystem for Linux Distributions: Ubuntu-18.04 (Default) 
 PS A:\Ubuntu\Ubuntu> wslconfig /setdefault Ubuntu-18.04 





评论

暂无评论。

登录后可发表评论。