• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

目录WSL2.0安装到自定义目录WSL2.0安装Ubuntu默认版本安装指定版本Microsoft store安装迁移到指定目录下载迁移工具开始迁移迁移错误解决方案

WSL2.0 安装到自定义目录

安装WSL2.0

https://docs.microsoft.com/zh-cn/windows/wsl/install,官网安装教学链接

安装Ubuntu默认版

默认安装Ubuntu

wsl -安装

安装指定版本

查看所有可用版本。

在线列表

指定版本。

wsl - install -d分发名称

微软商店安装

搜索Ubuntu store安装你喜欢的。

迁移到指定目录

下载迁移工具

开源地址:https://github.com/DDoSolitary/LxRunOffline

开始迁移

打开LxRunOffline安装目录的Cmd。

查看系统中安装了哪些wsl。

第一种方法使用工具命令来查看

LxRunOffline.exe名单

第二种方法使用WSL命令行来查看。

左室左室

使用LxRunoffline命令进行迁移。

-n参数:需要迁移哪个版本,这里迁移Ubuntu版本。

-d参数:需要迁移到那个目录,迁移到d : \ local environment \ wsl 2 \ Ubuntu \。\ lxrunoffline . exe move-n Ubuntu-d d : \ local environment \ wsl 2 \ Ubuntu \

迁移报错解决方案

这篇关于迁移错误报告的文章非常详细,推荐阅读。

网站:https://www.pudn.com/news/6242d03bd62d7b1199bc5d32.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now