microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.37k stars 816 forks source link

Unable to install any distribution - Can't find specified path #11553

Closed divisa-developer closed 5 months ago

divisa-developer commented 5 months ago

Windows Version

Microsoft Windows [Versión 10.0.22631.3447]

WSL Version

2.1.5.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.146.1-2

Distro Version

Ubuntu

Other Software

No response

Repro Steps

wsl --install Ubuntu

Expected Behavior

Distro is registered and started

Actual Behavior

I get this when the installation starts

Ubuntu ya está instalado.
Iniciando Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 El sistema no puede encontrar la ruta especificada.

Press any key to continue...
La operación se completó correctamente.

And I'm left with a distro less wsl installation. No matter what I try afterwards it won't install

Diagnostic Logs

WslLogs-2024-05-03_12-30-13.zip

github-actions[bot] commented 5 months ago

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
Detected appx version: 2.1.5.0

divisa-developer commented 5 months ago

I might add that I have uninstalled and installed again WSL, and the distributions, multiple times. Hvae enabled and disabled the Virtual Machine Platform, the WSL from optional features and Hyper-V.

divisa-developer commented 5 months ago

I tried importing a backup I had of my docker-desktop distro and although it did register the ditro it doesn't let me boot it up.

Adding the logs of that

WslLogs-2024-05-03_16-43-12.zip

github-actions[bot] commented 5 months ago
Diagnostic information ``` Detected appx version: 2.1.5.0 Detected user visible error: Wsl/Service/CreateInstance/CreateVm/HCS/ERROR_PATH_NOT_FOUND ```
divisa-developer commented 5 months ago

It seems this was caused by an unrelated problem.

My sys admin had changed a company wide policy that dissallowed me from installing drivers and this messed up the installation of drivers for the Hyper-V devices necessary for the Virtual Machine Platform to work. I asked this policy to be modified and next time I tried to boot the docker-desktop distribution it went without issue.

I'm closing this since my problem is solved.