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

WSL No Longer Boots #12113

Closed
1 of 2 tasks
Mythra opened this issue Oct 1, 2024 · 9 comments
Closed
1 of 2 tasks

WSL No Longer Boots #12113

Mythra opened this issue Oct 1, 2024 · 9 comments
Labels
emailed-logs Logs have been emailed

Comments

@Mythra
Copy link

Mythra commented Oct 1, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.4169]

WSL Version

2.2.4.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

Ubuntu 24.04

Other Software

No response

Repro Steps

Attempt to run wsl, or launch a wsl instance through WSL terminal.

Expected Behavior

I should be able to access the WSL instances I was able to access before a reboot.

Actual Behavior

The request is not supported.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x80070032

[process exited with code 4294967295 (0xffffffff)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

or

PS > wsl
The request is not supported.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x80070032

Diagnostic Logs

(Will email to forward as is mentioned in docs)

Copy link

github-actions bot commented Oct 1, 2024

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The script will output the path of the log file once done.

If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

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.

@Mythra
Copy link
Author

Mythra commented Oct 2, 2024

/emailed-logs

Copy link

github-actions bot commented Oct 2, 2024

Diagnostic information
Found '/emailed-logs', adding tag 'emailed-logs'

@github-actions github-actions bot added the emailed-logs Logs have been emailed label Oct 2, 2024
@zcobol
Copy link

zcobol commented Oct 2, 2024

@Mythra do you have KB5043145 installed? That Windows update is causing all sorts of problems for WSL and other services.

Run get-hotfix -Id KB5043145 in a pwsh session, and if present uninstall it.

@Mythra
Copy link
Author

Mythra commented Oct 2, 2024

Hi,

I thought I had uninstalled it since I saw it cropping up issues, it appears I hadn't actually. I've now uninstalled it, and confirmed it did get uninstalled with the command you gave:

PS > get-hotfix -Id KB5043145
Get-HotFix: Cannot find the requested hotfix on the 'localhost' computer. Verify the input and run the command again.

And alas the error does still remain:

The request is not supported.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x80070032

[process exited with code 4294967295 (0xffffffff)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 2, 2024

Thank you @Mythra. The logs show that the Virtual Machine Platform component it not enabled on your machine.

You can try to run: wsl --install --no-distribution, reboot, and see if that solves the issue ?

@Mythra
Copy link
Author

Mythra commented Oct 2, 2024

Hello @OneBlue ,

Unfortunately it seems no dice, same error, I ran:

PS > wsl --install --no-distribution
The operation completed successfully.

Rebooted, and ran:

> get-hotfix -Id KB5043145
Get-HotFix: Cannot find the requested hotfix on the 'localhost' computer. Verify the input and run the command again.
> wsl
The request is not supported.
Error code: Wsl/Service/CreateInstance/CreateVm/HCS/0x80070032

Seems like it's still the same error :(

@OneBlue
Copy link
Collaborator

OneBlue commented Oct 2, 2024

Oh I see. This is probably because we aren't correctly detecting that VMP is missing. Can you try to enable the "Virtual Machine Platform" optional component ?

@Mythra
Copy link
Author

Mythra commented Oct 2, 2024

Looks like that solved it, thanks! Weird that it just happened randomly, but hey I'm glad it's fixed. Appreciate your help!

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

No branches or pull requests

3 participants