gh0st-work / clear-linux-wsl

Clear Linux Windows WSL Installation
10 stars 0 forks source link

Distro won't run #2

Closed ThaDaVos closed 2 weeks ago

ThaDaVos commented 3 weeks ago

Following the tutorial in this repo to install ClearLinux on Windows 11 - but sadly running into below error:

PS P:\wsl\clearlinux> wsl -d ClearLinux --cd ~
<3>WSL (12) ERROR: CreateProcessParseCommon:757: getpwuid(0) failed 2
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\PowerShell\7
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\Microsoft\jdk-11.0.24.8-hotspot\bin
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\ImageMagick-7.1.1-Q16-HDRI
<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:\Windows\System32\OpenSSH\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C} (x86)\NVIDIA Corporation\PhysX\Common
<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:\WINDOWS\System32\OpenSSH\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\dotnet\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_DATA_ON_C}\chocolatey\bin
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\Microsoft SQL Server\150\Tools\Binn\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C} (x86)\dotnet\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\Microsoft SQL Server\120\Tools\Binn\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\NVIDIA Corporation\NVIDIA App\NvDLISR
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\Docker\Docker\resources\bin
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\PowerShell\7\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {PROGRAM_FILES_ON_C}\PowerShell\7-preview\preview
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\scoop\shims
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Local\Programs\Python\Launcher\
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Local\Microsoft\WindowsApps
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Local\Programs\Microsoft VS Code\bin
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\.dotnet\tools
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Local\Microsoft\WindowsApps
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Local\Microsoft\WinGet\Links
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\.dotnet\tools
<3>WSL (12) ERROR: UtilTranslatePathList:2866: Failed to translate {USER_PROFILE_ON_C}\AppData\Roaming\npm
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 G:\, see dmesg for more details.
Failed to mount P:\, 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

Checking the screenshot, the tutorial also ends with the same error shown on the first line - any idea how to remedy this?

ThaDaVos commented 3 weeks ago

I manually added the wsl.conf through Windows File Explorer - it seems it's read as when I add generateResolvConf = true - I see it being generated - but the other options, like automount and appendWindowsPath seem to be ignored for some reason - any solution?

ThaDaVos commented 3 weeks ago

Nvm... the old CRLF vs LF issue - but still fails to start

ThaDaVos commented 3 weeks ago
<3>WSL (5) ERROR: CreateProcessParseCommon:757: getpwuid(0) failed 2
<3>WSL (5) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2
<3>WSL (5) ERROR: CreateProcessEntryCommon:505: execvpe /bin/sh failed 2
<3>WSL (5) ERROR: CreateProcessEntryCommon:508: Create process not expected to return

Hope you can help @gh0st-work

ThaDaVos commented 3 weeks ago

Found the issue - release 42170 is broken - even misses files internally - so I used one from 41760 which works

gh0st-work commented 2 weeks ago

Latest release 42210 works on my machine following the instructions. I'll just delete releases 42150 and 42170.