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

Failed to translate C:\WINDOWS after creating Ubuntu 24.04 distribution #38

Open
pravic opened this issue May 15, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@pravic
Copy link

pravic commented May 15, 2024

I tried to register an Ubuntu 24.04 LTS and I get errors when I try to start it.

Steps:

  • Add new distribution
  • Select distro source: Docker Hub
  • Docker image: ubuntu:24.04
  • Register distro
  • wsl -d Ubuntu-2404docker

And I get this:

Full log
D:\>wsl -d Ubuntu-2404docker                                                                                                          
<3>WSL (12) ERROR: CreateProcessParseCommon:711: Failed to translate D:\                                                              
<3>WSL (12) ERROR: CreateProcessParseCommon:757: getpwuid(0) failed 2                                                                 
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath           
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\system32                                                
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS                                                         
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\Wbem                                           
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\                        
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\ProgramData\chocolatey\bin                                      
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate C:\Users\yuryw\AppData\Local\Microsoft\WindowsApps                 
Processing fstab with mount -a failed.                                                                                                
Failed to mount C:\, see dmesg for more details.                                                                                      
Failed to mount D:\, see dmesg for more details.                                                                                      
Failed to mount C:\, see dmesg for more details.                                                                                      
Failed to mount D:\, see dmesg for more details.                                                                                      
                                                                                                                                      
<3>WSL (12) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2                                                                 
<3>WSL (12) ERROR: CreateProcessEntryCommon:505: execvpe /bin/sh failed 2                                                             
<3>WSL (12) ERROR: CreateProcessEntryCommon:508: Create process not expected to return                                                

Tried to register Ubuntu 21.10 both via "Supported distro list" and via ubuntu:21.10 - works fine.

P.S. Also tried to register ubuntu:20.04, ubuntu:22.04, ubuntu:23.10 - same error. So, I guess it's not specific to a version but easyWSL has to support a particular distro in some way?

@unrooted unrooted added the bug Something isn't working label May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants