Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
LpCodes committed Dec 17, 2023
1 parent 4ccc98c commit c07396f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ This guide explains the process of moving a Linux distribution installed on Wind
wsl --import Ubuntu-22.04 "D:\wsl_import\ubuntu" "D:\wsl_export\ubuntu-ex.tar"
```

5. Set default user (optional): This step is only necessary if you're:
Importing to a new machine or creating a new user for Ubuntu. Setting the default user avoids login prompts each time you launch the distribution.

Using multiple users on your Windows machine and want different defaults for each. This clarifies which user launches by default for each WSL environment.

To set the default user, run: `ubuntu.exe config --default-user me` (replace "me" with your actual username).

Congratulations! You have successfully moved your WSL distribution (Ubuntu 22.04) to another drive. You can now start the distribution and continue using it on the new location.

0 comments on commit c07396f

Please sign in to comment.