-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
This ArchWSL is not compatible with WSL2 #89
Comments
Yes, I have done this, but it cannot work. |
I installed it two times (I broke the first one, that's on me). I never tried to install any other way, because I set the default version when it came out. |
The way I didt was
|
For me Arch is working fine. Compile test of my hobby project: make -j5 0.30s user 2.16s system 29% cpu 8.340 total //wsl1
make -j5 0.58s user 0.88s system 51% cpu 2.848 total //wsl2 |
I can't run compton, what the hell was done with container? I did anything other than rebooting an computer... |
I did this too. For me the conversion finished OK, but after the conversion, I cannot start the container:
|
I managed to get Arch running with WSL2 until the most recent windows build 18950. It works if you convert back to V1. Even on the windows store the number of available distros is now about 1/2 so I guess something has changed when they added localhost support.
|
The new version of init in Windows build 18950 tries to create the /bin directory and fails with all distributions that link /usr/bin to /bin, including Arch. See: microsoft/WSL#4371 - a fix is incoming. |
I can also confirm that reverting to version 1 works, at least until a new Insiders build is out. |
following this, is it fixed yet ? i had to convert back to wsl 1 |
I just tried with 18956 and the issue is still present. |
after updating into 18956, arch broke out with WSL2 |
in 18956, Arch WSL2 is unable to start. |
Guys, the issue is not in this distribution. See microsoft/WSL#4371. Windows 10 insider build 18947 and above have this issue. Revert back to 18945 if possible. Generally when a issue is marked as "fixinbound" in WSL repo, it reaches to insider build between 4-5 weeks. So wait for next build... |
Hello guys, this solution works fine in 18963. |
That is not a "solution", it's a workaround. If someone make any mistake during the operation the whole distribution may break. After all the issue is from WSL devs. Also we should not break "the Arch way" 🤓 |
I find it better to wait for a build with wsl fixed, breaking WSL distros is horrible because you lose everything, the vhdx used by WSL2 is inaccessible AFAIK so, I will wait for a correct fix 😅 |
It solves the immediate problem of not being able to get to Arch in WSL2, but it breaks Arch in various ways. E.g. installing packages with yay sometimes just deletes the /usr/bin symlink and creates an empty directory instead. :-) |
It not only breaks the Arch way, but also makes the package "filesystem" cannot be upgraded. |
I was testing it by few mins and did an reboot and nothing broke, so I assume this is for 80% sure fixed. |
To me was all ok too. |
To me was all ok too. |
I can confirm that this distro is working again in build 18980.1 |
This is fixed in 18970. |
@kridenberg |
\rootfs is changed into a vhdx
The text was updated successfully, but these errors were encountered: