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

Can't access WSL2-Ubuntu-20.04's file system by "\\wsl$Ubuntu-20.04" #7039

Closed
atwwww opened this issue Jun 7, 2021 · 6 comments
Closed

Can't access WSL2-Ubuntu-20.04's file system by "\\wsl$Ubuntu-20.04" #7039

atwwww opened this issue Jun 7, 2021 · 6 comments

Comments

@atwwww
Copy link

atwwww commented Jun 7, 2021

I installed the Ubuntu-20.04 of WSL2 through Microsolft Store.
Then in the subsystem:
"sudo apt update"
...
"sudo apt upgrade"
...

After that,
the explorer of windows10 will always be loading state when I type "\\wsl$\Ubuntu-20.04" in its search box,
seems that it can't find the Ubuntu-20.04's files.

However,
I can successfully access the Ubuntu-18.04's files by typing "\\wsl$\Ubuntu-18.04"

Is it a Bug of WSL2-Ubuntu-20.04?

@fetherolfjd
Copy link

I need to access my distros via \\wsl$\Ubuntu-20.04. Note the slash between the dollar sign and the distro name. Does that fix your issue?

@therealkenc
Copy link
Collaborator

What is the output, from a powershell or CMD prompt:

C:\> cmd.exe /c ver
C:\> wsl.exe -l -v

@atwwww
Copy link
Author

atwwww commented Jun 8, 2021

@fetherolfjd
It didn't work...

@atwwww
Copy link
Author

atwwww commented Jun 8, 2021

@therealkenc
The prompts are as follows:

C:> cmd /c ver
Microsoft Windows [version 10.0.19042.985]

C:\ wsl -l -v
NAME STATE VERSION

  • kali-linux Stopped 2
    Ubuntu-18.04 Stopped 2
    Ubuntu-20.04 Running 2

@therealkenc
Copy link
Collaborator

Is it a Bug of WSL2-Ubuntu-20.04?

All things being equal, WSL proper doesn't know one distribution from the next. And the distributions (f.e. Ubuntu-20.04) isn't responsible for sharing \\wsl$\Ubuntu-20.04.

image

If kali-linux and Ubuntu-18.04 both work, but Ubuntu-20.04 "always be loading state", one thing to try on a lark is install Ubuntu (sic) from the store and see how that fares.

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

3 participants