Search results
18 cze 2023 · Install a dummy distribution of the same Linux version; Shutdown WSL2 with wsl --shutdown; Replace the ext4.vhdx file of the new distribution with your previous one
1 lis 2023 · After the installation is complete, download and install a Linux distribution for WSL 2, such as Ubuntu, Debian, or Kali Linux, in the Microsoft Store. If you still can't find the wsl .exe file, try running the following command in PowerShell to update Windows 10:
13 sty 2023 · I performed a restart yesterday to update my Windows 11 to build 22621.1105. When I opened my Debian WSL2 distro this morning I found that all my files for the distro are missing. The distro does not even contain my user and the only user on the distro is "wslg".
16 sty 2024 · Increment the version number of the package to be installed, or remove the old package for every user on the system before installing this package. You can download the wsl packages from the wsl github release page https://github.com/microsoft/WSL/releases.
I was using VS Code connected to my WSL instance, it was crashing when trying to generate a plot, I restarted it, then I just restarted the distro entirely using wsl -t Ubuntu-22.04 and at some point between these operations, I lost everything. EDIT: after running wsl --shutdown, my files were restored. But now I am slightly terrified of using WSL.
24 sty 2024 · Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified. Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/ERROR_FILE_NOT_FOUND [process exited with code 4294967295 (0xffffffff)]
30 gru 2021 · Windows knows where all of your WSL data is from: HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss\<GUID>. What happens after a System Reset? When your system is reset, your files are preserved while applications are removed.