Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >

LxRunOffline

在cmd中直接运行

LxRunOffline.exe

将输出help信息

查看WSL所在目录

  • 查看子系统所在目录
LxRunOffline.exe get-dir -n Ubuntu-18.04

移动到非C盘

参考https://learnku.com/articles/46234
https://blog.csdn.net/yihuajack/article/details/119915303

  • 停止运行中要迁移的系统
wsl --shutdown
  • 新建目标目录并授权
icacls D:\wsl\installed /grant "cnguu:(OI)(CI)(F)"

目标目录:D:\wsl\installed
用户名:cnguu
此步骤失败了似乎没事

  • 迁移系统
.\LxRunOffline move -n Ubuntu-18.04 -d D:\wsl\installed\Ubuntu-18.04

评论