Skip to content

Unable to open path on wsl Remote path when WSL Distro windows drive c is unmounted #112783

@jtlimson

Description

@jtlimson

Version

  • VSCode Version: Visual Studio Code 1.52.1
  • OS Version: Windows 10 Version 2004 (OS build 19041.508)

Steps to Reproduce:

The problem occurs when windows drive c is unmounted in the WSL Distro. sudo umount /mnt/c

Terminal Log in VSCode

2020-12-18 00:55:01.781] Resolving wsl+Ubuntu-20.04, resolveAttempt: 1
[2020-12-18 00:55:01.830] Starting VS Code Server inside WSL (Ubuntu-20.04)
[2020-12-18 00:55:01.830] Extension version: 0.52.0, Windows build: 19041. Multi distro support: available. WSL path support: enabled
[2020-12-18 00:55:01.830] No shell environment set or found for current distro.
[2020-12-18 00:55:02.187] Probing if server is already installed: C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 -e sh -c "[ -d ~/.vscode-server/bin/ea3859d4ba2f3e577a159bc91e3074c5d85c0523 ] && printf found || ([ -f /etc/alpine-release ] && printf alpine-; uname -m)"
[2020-12-18 00:55:02.283] Probing result: found
[2020-12-18 00:55:02.283] Server install found in WSL
[2020-12-18 00:55:02.284] Launching C:\WINDOWS\System32\wsl.exe -d Ubuntu-20.04 sh -c '"$VSCODE_WSL_EXT_LOCATION/scripts/wslServer.sh" ea3859d4ba2f3e577a159bc91e3074c5d85c0523 stable .vscode-server 0  '}
* [2020-12-18 00:55:02.363] sh: 1: /scripts/wslServer.sh: not found
* [2020-12-18 00:55:02.363] VS Code Server for WSL closed unexpectedly.
* [2020-12-18 00:55:02.363] For help with startup problems, go to
* [2020-12-18 00:55:02.363] https://code.visualstudio.com/docs/remote/troubleshooting#_wsl-tips
* [2020-12-18 00:55:02.370] WSL Daemon exited with code 0

Solution:
Restart WSL distro.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions