-
Notifications
You must be signed in to change notification settings - Fork 72
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
mkosi-mainline "Failed to start initrd-switch-root.service - Switch Root." #287
Comments
Looks like boot failure. Ubuntu seems diverging more and more from that old mkosi we use. |
It seems that GitHub does not even plan to add Ubuntu newer than 22.04 on runners in foreseeable future, so we still cannot start to use latest |
@vt-alt So we need to use mkosi v14 tag, right? Will you please make this change? Thanks! |
We already using v14. I thought - maybe we finally can switch to a newer mkosi to fix the issue, but it's not time yet. |
@vt-alt Ah, so since we have to stay with v14, we should also stay with older Ubuntu? Can we? |
Cannot, because (the) mainline kernels are for bleeding edge Ubuntu-s by design. |
I debugged the boot process and found that the immediate cause of the boot failure is Dracut not mounting the root filesystem even though all devices are present. Dracut does not say why but with debug enabled ( Instead of delving deeper and becoming Dracut expert, it occurs to me that we can simply pass ps. When failure first occurred dracut version is unchanged being -Preparing to unpack .../systemd_253.5-1ubuntu4_amd64.deb ...
+Preparing to unpack .../systemd_253.5-1ubuntu5_amd64.deb ... Perhaps we are affected by this change backporting https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=a366279a84730e92ed734710560ea833709f359d deleting systemd-gpt-auto-generator for unspecified reasons. |
Ubuntu removed 'systemd-gpt-auto-generator' from systemd_253.5-1ubuntu5, causing dracut to be unable to find the root partition without assistance. It appears that specifying the root label could be a good solution. Fixes: lkrg-org#287 Signed-off-by: Vitaly Chikunov <[email protected]>
Ubuntu removed 'systemd-gpt-auto-generator' from systemd_253.5-1ubuntu5, causing dracut to be unable to find the root partition without assistance. It appears that specifying the root label could be a good solution. Fixes: #287 Signed-off-by: Vitaly Chikunov <[email protected]>
@vt-alt
mkosi-mainline
is failing for 2 days with:The text was updated successfully, but these errors were encountered: