-
Notifications
You must be signed in to change notification settings - Fork 832
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
Ubuntu 22.04 with systemd can't start #11411
Comments
View similar issuesPlease 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! Closed similar issues:
Diagnostic information
|
@Alex6357 it fails because that image has no
To get a Ubuntu image with systemd download from https://cloud-images.ubuntu.com/wsl or install required packages before enabling systemd and restart. |
Hi, @zcobol Thanks for your help!
I do have systemd installed in my distro.
But I just realized that it didn't install the package
I searched for "wsl" with apt and found the package |
@Alex6357 could you share more detail about how to fix this? I have the same problem and don't know how to start the Ubuntu and change the wsl.conf file. |
Install You can mount |
I see. So I have to create another wsl and mount this broken in new wsl to edit the conf file? |
Windows Version
Microsoft Windows [版本 10.0.22631.3374]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.6.23, also 5.15.146.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Import ubuntu via ubuntu-base-22.04.3-base-amd64.tar.gz
Enable systemd in /etc/wsl.conf
Restart Ubuntu
Expected Behavior
Boot normally
Actual Behavior
灾难性故障
Error code: Wsl/Service/CreateInstance/E_UNEXPECTED
[已退出进程,代码为 4294967295 (0xffffffff)]
现在可以使用Ctrl+D关闭此终端,或按 Enter 重新启动。
Diagnostic Logs
WslLogs-2024-04-02_17-17-52.zip
The text was updated successfully, but these errors were encountered: