DEV Community

Cover image for WSL system moving
IQIUM
IQIUM

Posted on

2 1

WSL system moving

  • First, close wsl:wsl --shutdown
  • Second, export wsl: wsl --export Debian D:\WSL\Debian.tar
  • Third, unregister wsl: wsl --unregister Debian
  • Lastly, we import the system: wsl --import Debian D:\WSL\Debian D:\WSL\Debian.tar
  • (optionly: change the default login user: debian config --default-user Zhang)

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay