ArchWSL
ArchWSL copied to clipboard
ArchWSL v21.8.28.0 -- installs as WSL 1 even if WSL 2 set as default
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
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
Why does this have a label of need-repro? I've provided the reproduction steps in the initial report.
I'm sorry, I mistakenly tagged it.
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.
Thailand 49140 [email protected]
@jamincollins not sure if this changes anything, but have test latest version 22.3.18.0 ?
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.