Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArchWSL v21.8.28.0 -- installs as WSL 1 even if WSL 2 set as default #269

Open
jamincollins opened this issue Jan 21, 2022 · 7 comments
Open

Comments

@jamincollins
Copy link

Describe the issue
ArchWSL v21.8.28.0 -- installs as WSL 1 even if WSL 2 set as default

To Reproduce
Verify that your system is set to WSL 2 as default:

> wsl --status
Default Version: 2

Windows Subsystem for Linux was last updated on 1/21/2022
WSL automatic updates are on.

Kernel version: 5.10.60.1

Install ArchWSL:

> .\Arch.exe install
Using: rootfs.tar.gz
Installing...
Installation complete

Check the installed state:

> wsl -l -v
  NAME    STATE           VERSION
* Arch    Stopped         1

Expected behavior
If the system is set to WSL 2 as a default, I would expect that ArchWSL would install as WSL 2.

Screenshots
N/A -- see console output above

Enviroment:

  • Windows build number: Microsoft Windows [Version 10.0.19044.1469]
  • Security Software: Microsoft Defender
  • WSL version 1/2: WSL 2 (see above)
  • ArchWSL version 21.8.28.0
  • ArchWSL Installer type zip/appx/other clean/update: fresh zip extraction
  • Launcher version: wsldl2, version 21082800 (amd64)

Additional context
None

@jamincollins
Copy link
Author

A subsequent upgrade/conversion to WSL 2 does work.

> wsl --set-version Arch 2
Conversion in progress, this may take a few minutes...
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
Conversion complete.

> wsl -l -v
  NAME    STATE           VERSION
* Arch    Stopped         2

@jamincollins
Copy link
Author

Why does this have a label of need-repro? I've provided the reproduction steps in the initial report.

@yuk7
Copy link
Owner

yuk7 commented Feb 11, 2022

I'm sorry, I mistakenly tagged it.

@yuk7 yuk7 removed the need-repro label Feb 11, 2022
@siuoly
Copy link

siuoly commented Feb 25, 2022

I have the same question and I attemp a lot of command.
Finally .\Arch.exe config --wsl-version 2 solve my problem.
Run the command in your Archwsl directory.

@ariyawongkraso
Copy link

Thailand 49140
[email protected]

@rffontenelle
Copy link

@jamincollins not sure if this changes anything, but have test latest version 22.3.18.0 ?

@jamincollins
Copy link
Author

jamincollins commented May 29, 2022

This still appears to be a problem with new builds installed on Windows 10. Regardless of the WSL default, Arch is installed as WSL version 1.

Under Windows 11, Arch installs as WSL version 2. Presumably because that's all that is available under Windows 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants