PS C:\Users\weso> wsl
<3>WSL (31983 - Relay) ERROR: CreateProcessParseCommon:996: getpwnam(mw) failed 5
<3>WSL (31983 - Relay) ERROR: CreateProcessParseCommon:1005: getpwuid(1000) failed 5
<3>WSL (31983 - Relay) ERROR: operator():579: getpwuid(0) failed 5
<3>WSL (31983) ERROR: I/O error @util.cpp:1358 (UtilInitGroups)
<3>WSL (31983 - Relay) ERROR: CreateProcessCommon:807: Create process failed
PS C:\Users\weso> wsl -d NixOS --system --user root -- /mnt/wslg/distro/bin/nixos-wsl-recovery
/bin/bash: line 1: /mnt/wslg/distro/bin/nixos-wsl-recovery: Input/output error
PS C:\Users\weso>
Everything is up to date. Took the command from https://nix-community.github.io/NixOS-WSL/troubleshooting/recovery-shell.html
PS C:\Users\weso> wsl
<3>WSL (31983 - Relay) ERROR: CreateProcessParseCommon:996: getpwnam(mw) failed 5
<3>WSL (31983 - Relay) ERROR: CreateProcessParseCommon:1005: getpwuid(1000) failed 5
<3>WSL (31983 - Relay) ERROR: operator():579: getpwuid(0) failed 5
<3>WSL (31983) ERROR: I/O error @util.cpp:1358 (UtilInitGroups)
<3>WSL (31983 - Relay) ERROR: CreateProcessCommon:807: Create process failed
PS C:\Users\weso> wsl -d NixOS --system --user root -- /mnt/wslg/distro/bin/nixos-wsl-recovery
/bin/bash: line 1: /mnt/wslg/distro/bin/nixos-wsl-recovery: Input/output error
PS C:\Users\weso>
Everything is up to date. Took the command from https://nix-community.github.io/NixOS-WSL/troubleshooting/recovery-shell.html