🗒️WSL2从C盘迁移到其他磁盘
type
status
date
slug
summary
category
icon
password
tags
首先安装WSL2,然后安装你需要的系统,我本地安装的Ubuntu,安装完成后退出WSL(无需关机或注销)。
重点来了:
1.备份现有系统
wsl --export Ubuntu D:\UbuntuBackup.tar
2.卸载系统
wsl --unregister Ubuntu
3.指定位置导入系统
wsl --import Ubuntu D:\WSL\Ubuntu D:\UbuntuBackup.tar --version 2
4.启动系统
wsl -d Ubuntu

Loading...