Comments (13)
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:
- Systemd not starting correctly on fresh install after reboot (#9207), similarity score: 0.80
Closed similar issues:
- systemd no longer boots (#10557), similarity score: 0.83
- Distro not booting with systemd enabled (#9850), similarity score: 0.81
- Ubuntu 22.04 with systemd can't start (#11411), similarity score: 0.77
- OpenSuSE leap 15.4 on WSL2 will not start after enabling systemd (#9602), similarity score: 0.77
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Diagnostic information
Appx package is not installed
from wsl.
Installing wsl should means It'll comes with the latest kernel version. It doesn't in my case
Unfortunately this is our bleeding open wound.
All our problems start here with the old version still in existence and it is installed by default anytime someone tries to install WSL. This is partly due to using windows 10 versions, as it had accumulated many sub-versions over the years.
Installing the newer, systemd compatible version has its pain all the time, and now it seems the store version (which previously was working) is broken and that dism method is the only one I read working for the moment.
You will need to experiment with the installation until you finally get at least 5.15.xxx kernel.
I've tried updating and upgrading. It doesn't update to the latest version still.
Now I can't even seems to get ubuntu to launch after downloading It. I'm being met with this error WslRegisterDistribution failed with error: 0x8037010d Error: 0x8037010d The virtual machine or container JSON document is invalid.
from wsl.
Diagnostic information
Issue was edited and new log file was found: https://github.com/user-attachments/files/15822158/WslLogs-2024-06-13_15-29-23.zip
Appx package is not installed
from wsl.
Is systemd=true on a separate line like this:
[boot]
systemd=true
from wsl.
Is systemd=true on a separate line like this:
[boot] systemd=true
Yes it's
from wsl.
as a first aid, please delete your current ubuntu and reinstall it, but do not edit config file.
Last time I have checked (around 6 months), Ubuntu 22.04 image had a working configuration file, and the editor you have used might have broken its content. that is why I ask to leave the file alone.
also give the output for this command: wsl --version
from wsl.
Kernel Version
5.10.102.1
I could only see now this detail in your main post.
This kernel is the old one that is incompatible with systemd. please follow latest answers in the other discussion on how to get the correct one.
you will need version 5.15.xxx
from wsl.
Could you also try making sure you're on the latest WSL version? Please try running wsl --install
or wsl --update
to update. You'll know you're on latest if you run wsl --version
and it has a readable output.
from wsl.
as a first aid, please delete your current ubuntu and reinstall it, but do not edit config file.
Last time I have checked (around 6 months), Ubuntu 22.04 image had a working configuration file, and the editor you have used might have broken its content. that is why I ask to leave the file alone.
also give the output for this command:
wsl --version
I've uninstall and reinstall it multiples, It does'work. The wsl --version
command does not work on my powerShell cl
from wsl.
uninstall and reinstal
Kernel Version
5.10.102.1
I could only see now this detail in your main post.
This kernel is the old one that is incompatible with systemd. please follow latest answers in the other discussion on how to get the correct one.
you will need version 5.15.xxx
Installing wsl should means It'll comes with the latest kernel version. It doesn't in my case
from wsl.
Installing wsl should means It'll comes with the latest kernel version. It doesn't in my case
Unfortunately this is our bleeding open wound.
All our problems start here with the old version still in existence and it is installed by default anytime someone tries to install WSL. This is partly due to using windows 10 versions, as it had accumulated many sub-versions over the years.
Installing the newer, systemd compatible version has its pain all the time, and now it seems the store version (which previously was working) is broken and that dism method is the only one I read working for the moment.
You will need to experiment with the installation until you finally get at least 5.15.xxx kernel.
from wsl.
This last error is a bit annoying as I am unfamiliar with that.
My experience with the WSL installation steps had no problems so far, so I am having hard times when someone fails to get the correct kernel version. (You may notice this in my posts that my help is all about steps after getting past this step).
Other than a complete system reinstall (if possible), unfortunately I am failing to offer you any advice to follow.
Can you please search for, or open a new issue, why you are getting this headache to get the latest WSL kernel on your system.
Another way is to wait for someone that could help to notice this issue, but it will be slow as you may guess.
from wsl.
Windows Version
Microsoft Windows [Version 10.0.21996.1]
This release version number seems to belong to the very first Windows 11 releases.
The first update to Windows, coded to be 21H2, is dated October 2021 and has "22000" version build number. Later, we got 22H2 in 2022 (22621) and 23H2 in 2023 (22631).
My current guess is that your system did not update at least required parts of the system, thus it fails to install the required WSL kernel.
If you are still struggling about this WSL installation, please try again after updating your system to at least 21H2.
Let us know if you find a fix for your system, especially if updating the system helps, so we can add your experience to our list of solutions.
from wsl.
Related Issues (20)
- Custom kernel not being recognized. HOT 7
- WSL2: Rails Server Running but Not Responding to HTTP Requests on localhost HOT 2
- user permissions for audio (ALSA) inside WSL not working HOT 3
- WSL 正在完成升级... 系统无法打开指定的设备或文件。 更新失败(退出代码: 110)。 Error code: Wsl/CallMsi/Install/0x8007006e HOT 1
- WSL 正在完成升级... 系统无法打开指定的设备或文件。 更新失败(退出代码: 110)。 Error code: Wsl/CallMsi/Install/0x8007006e HOT 2
- Unable to catch c++ exceptions when linking against nvcuvid HOT 2
- WSL2-Linux-Kernel README has a old link HOT 4
- Importing Debian 11 distro from .tar file gives "Unspecified error Error code: Wsl/Service/RegisterDistro/E_FAIL" HOT 1
- wsl hangs forever HOT 2
- clock skew in `wsl2` HOT 4
- Error code: Wsl/Service/CreateInstance/CreateVm/WSAENOTCONN Press any key to continue... HOT 10
- Kernel in 2.3.11 no longer monolithic? HOT 6
- can not access windows driver using /mnt HOT 1
- Docker stopped working in WSL 2.3.11.0 HOT 13
- 2.3.11 breaks USBIPD HOT 9
- 2.3.11 - Win11 Defender detects x64 msi as a `Trojan:Script/Wacatac.B!ml` HOT 5
- An app opened from inside Windows Terminal stays behind Terminal (but above other apps) HOT 1
- appending to a file via shell redirecting (echo foo >> bar) replaces content from start of document, doesn't append HOT 3
- for u it's a simple fix kex works like magic Just right-click on the big empty space and select "panel Preference" HOT 2
- WSL2-Kernel: enable F2FS filesystem support as a module HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl.