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

WSL can't mount the C drive in Windows. #10400

Closed
1 of 2 tasks
Chenthilraj opened this issue Aug 17, 2023 · 5 comments
Closed
1 of 2 tasks

WSL can't mount the C drive in Windows. #10400

Chenthilraj opened this issue Aug 17, 2023 · 5 comments

Comments

@Chenthilraj
Copy link

Windows Version

Microsoft Windows [Version 10.0.19044.3208]

WSL Version

WSL version: 1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

No response

Other Software

No response

Repro Steps

Open the Command Terminal in Administrative Mode
Execute wsl -d Ubuntu bash

Getting this Error:
<3>WSL (330) ERROR: CreateProcessParseCommon:789: Failed to translate C:\Users\BK335PS
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Windows\system32
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Windows
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Windows\System32\Wbem
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Windows\System32\WindowsPowerShell\v1.0
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Windows\System32\OpenSSH
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Program Files (x86)\Riverbed\Steelhead Mobile
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Program Files\1E\Client\Extensibility\NomadBranch
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Program Files (x86)\Common Files\Hitachi ID
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Program Files\Common Files\Hitachi ID
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\home\nodejs
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\ProgramData\chocolatey\bin
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Users\BK335PS\AppData\Local\Microsoft\WindowsApps
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\tools\ide\VSCode\bin
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\tools\ide\PyCharmCE2023.1.3\bin
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\tools\ide\IntelliJCE2023.1.3\bin
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\Users\BK335PS\AppData\Roaming\npm
<3>WSL (330) ERROR: UtilTranslatePathList:2803: Failed to translate C:\tools\Git\cmd
Failed to mount C:, see dmesg for more details.

To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.

Due to this I could not launch docker properly. I raised a support ticket with docker team. Docker team is of the view that the issue is with WSL and advised me to raise a ticket.

Expected Behavior

WSL should launch successfully without any error

Actual Behavior

Should Launch without any mount error.

Diagnostic Logs

No response

@ghost
Copy link

ghost commented Aug 22, 2023

/logs

@ThaDaVos
Copy link

Just a idea - but are you perhaps using Bit-locker on your C drive? I know a colleague of mine had issues with that

@OneBlue
Copy link
Collaborator

OneBlue commented Aug 29, 2023

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

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