Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access WSL after reboot #10464

Closed
1 of 2 tasks
popey opened this issue Sep 11, 2023 · 1 comment
Closed
1 of 2 tasks

Cannot access WSL after reboot #10464

popey opened this issue Sep 11, 2023 · 1 comment

Comments

@popey
Copy link

popey commented Sep 11, 2023

Windows Version

Microsoft Windows [Version 10.0.22621.2215]

WSL Version

1.2.5.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

No response

Repro Steps

I was using WSL last week, went home, came back after the weekend, and now WSL won't start. I tried launching from the start menu initially, but the window appeared and then disappeared. So I tried launching from PS.

Expected Behavior

Expected WSL to launch.

Actual Behavior

PS C:\Windows\system32> wsl
Failed to attach disk 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\system.vhd' to WSL2: The request is not supported.
Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/0x80070032
PS C:\Windows\system32> wsl --mount 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\system.vhd' --vhd --bare
Failed to attach disk 'C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_1.2.5.0_x64__8wekyb3d8bbwe\system.vhd' to WSL2: The request is not supported.
Error code: Wsl/Service/AttachDisk/CreateVm/MountVhd/0x80070032

Diagnostic Logs

WslLogs-2023-09-11_09-17-41.zip

@popey
Copy link
Author

popey commented Sep 11, 2023

Well hot-dang, I rebooted and now it works again. 🤯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant