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

Error code: Wsl/Service/CreateVm/0x80040154 #9801

Closed
1 of 2 tasks
rchristman89 opened this issue Mar 16, 2023 · 3 comments
Closed
1 of 2 tasks

Error code: Wsl/Service/CreateVm/0x80040154 #9801

rchristman89 opened this issue Mar 16, 2023 · 3 comments

Comments

@rchristman89
Copy link
Member

Windows Version

Microsoft Windows [Version 10.0.19044.2604]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.90.1

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

  • Run wsl --import ubuntu2204 $env:TEMP C:\wsl\ubuntu2204.tar.gz --version 2

Expected Behavior

WSL imports Ubuntu.tar.gz

Actual Behavior

PS C:\Users\1299400391157005> wsl --import ubuntu2204 $env:TEMP C:\wsl\ubuntu2204.tar.gz --version 2
Import in progress, this may take a few minutes.
Class not registered
Error code: Wsl/Service/CreateVm/0x80040154
image

Diagnostic Logs

WslLogs-2023-03-16_14-42-29.zip

@rchristman89
Copy link
Member Author

I have removed the appx package and installed it again. Uninstalled Virtual Machine Platform & Windows Subsystem for Linux and installed them again. Still getting the same error.

@rchristman89
Copy link
Member Author

This is the error I am getting now.
The system cannot find the file specified.
Error code: Wsl/Service/CreateVm/ERROR_FILE_NOT_FOUND
image
WslLogs-2023-03-16_20-18-42.zip

@rchristman89
Copy link
Member Author

I was given an recompiled with more logging. Installed that one and it imported the tar.gz. Removed that appx and reinstalled the 1.1.3 and it was able to import successfully.

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