microsoft / WSL

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

Importing a distribution in a directory on a Dev Drive fails #10852

Open anthonyvdotbe opened 1 year ago

anthonyvdotbe commented 1 year ago

Windows Version

Microsoft Windows [Version 10.0.22631.2715]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

Kernel Version

5.15.133.1-1

Distro Version

Debian

Other Software

No response

Repro Steps

Expected Behavior

The import succeeds.

Actual Behavior

The import fails:

Import in progress, this may take a few minutes.
Error: 0xd000000d
Error code: Wsl/Service/0xd000000d

Diagnostic Logs

No response

matthewlloyd commented 10 months ago

I also attempted to do this and got the exact same error. In my case the dev drive is mounted at D:\.

C:\>wsl --import Ubuntu1 D:\WSL\Ubuntu1 D:\Ubuntu1.tar --version 1
Import in progress, this may take a few minutes.
Error: 0xd000000d
Error code: Wsl/Service/0xd000000d
OneBlue commented 10 months ago

/logs

anthonyvdotbe commented 10 months ago

WslLogs-2024-01-13_19-06-42.zip

a14a19 commented 3 months ago

Did anyone find the solution for -

Error: 0xd000000d Error code: Wsl/Service/RegisterDistro/0xd000000d

I'm trying to move wsl to a different drive and it keeps on giving me this error.

alexhua commented 1 month ago

From my case, to resolve this issue, Linux Distro must be installed on Driver C: