clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
521 stars 29 forks source link

[wsl2] Fails to start #3170

Closed ThaDaVos closed 1 month ago

ThaDaVos commented 1 month ago

Using the amazing up to date rootfs from https://github.com/gh0st-work/clear-linux-wsl - it sadly feels to start with 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

Reference: https://github.com/gh0st-work/clear-linux-wsl/issues/2

ThaDaVos commented 1 month ago

Closing as the issue is because of broken rootfs: https://github.com/gh0st-work/clear-linux-wsl/issues/3