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

WSL2 support? #2

Closed
oscarbg opened this issue Aug 21, 2019 · 8 comments
Closed

WSL2 support? #2

oscarbg opened this issue Aug 21, 2019 · 8 comments

Comments

@oscarbg
Copy link

oscarbg commented Aug 21, 2019

No description provided.

@wight554
Copy link
Owner

can't test until microsoft/WSL#4371 fixed

@oscarbg
Copy link
Author

oscarbg commented Aug 22, 2019

I might be lucky on WSL side as both a Ubuntu and Debian installed from "Win Store" as WSL1 and WSL2 respectively work on my 18956 insider build..
Installed Clear as WSL1 (setting default wsl version to 1) and it worked without problems also..
but converting the machine to WSL2 via via: "wsl --set-version Clear 2" failed miserably (seems towards the end of conversion as some 1GB vhdx was being created before failing and deleting that file)
I got warnings about some files which were correct links to other files ( I mean like ln -sf a b) from Clear not being found in the conversion process.. like some man files /usr/share/man3/.../CN_ZK/..

@wight554
Copy link
Owner

I linked that issue not just for reference
It's clearly written here that all distros with /usr/bin => /bin symlink fail to start wsl2
And clear linux is one of those

@oscarbg
Copy link
Author

oscarbg commented Aug 23, 2019

ok sorry.. didn't read thoroughly..

@wight554
Copy link
Owner

wight554 commented Aug 24, 2019

fixed by 3131368

@wight554
Copy link
Owner

wight554 commented Aug 24, 2019

nvm that hack didn't work fine here, at least the way i did it
workaround described here microsoft/WSL#4371 (comment) won't work too
tldr swupd doesn't like this

@wight554 wight554 reopened this Aug 24, 2019
@shayne
Copy link

shayne commented Aug 30, 2019

Updated to 18970. Ran .\Clear.exe with default WSL set to version as 1.

Converted to 2 via wsl.exe --set-version <distro-name> 2.

Works.

@wight554
Copy link
Owner

Tnx for confirmation, haven't updated yet, closing the issue

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

No branches or pull requests

3 participants