Ask Your Question
2

Is it impossible to change Ubuntu distribution from WSL1 to WSL2?

asked 2023-06-08 05:46:21 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-08 06:08:02 +0000

qstack gravatar image

No, it is not impossible to change Ubuntu distribution from WSL1 to WSL2. You can do so by following these steps:

  1. Open PowerShell as Administrator.
  2. Run the command: wsl --shutdown
  3. Run the command: Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
  4. Restart your computer.
  5. Open PowerShell as Administrator.
  6. Run the command: wsl --set-version Ubuntu 2
  7. Wait for the conversion to complete.

Once the conversion is complete, you will be able to use Ubuntu in WSL2.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-08 05:46:21 +0000

Seen: 7 times

Last updated: Jun 08 '23