Skip to content

fix(dracut-systemd): pass through dissect and gpt-auto-force root= va… - #2740

Closed
supakeen wants to merge 1 commit into
dracutdevs:masterfrom
supakeen:allow-root-dissect
Closed

fix(dracut-systemd): pass through dissect and gpt-auto-force root= va…#2740
supakeen wants to merge 1 commit into
dracutdevs:masterfrom
supakeen:allow-root-dissect

Conversation

@supakeen

@supakeen supakeen commented Aug 3, 2026

Copy link
Copy Markdown

…lues

systemd's gpt-auto-generator supports root=dissect, root=dissect-force, and root=gpt-auto-force in addition to root=gpt-auto, but dracut's cmdline parser did not recognize these values. This caused a fatal error during boot: "Don't know how to handle 'root=dissect'".

Add all three values to the passthrough case in dracut-cmdline.sh so they are accepted and left for systemd to handle, just like gpt-auto and tmpfs already are.

mount.usr=dissect is not affected since dracut does not parse mount.usr= at all. The 98usrmount module skips itself when systemd is present, and the parameter is consumed entirely by systemd's gpt-auto-generator.

…lues

systemd's gpt-auto-generator supports root=dissect, root=dissect-force,
and root=gpt-auto-force in addition to root=gpt-auto, but dracut's
cmdline parser did not recognize these values. This caused a fatal error
during boot: "Don't know how to handle 'root=dissect'".

Add all three values to the passthrough case in dracut-cmdline.sh so
they are accepted and left for systemd to handle, just like gpt-auto
and tmpfs already are.

mount.usr=dissect is not affected since dracut does not parse mount.usr=
at all. The 98usrmount module skips itself when systemd is present, and
the parameter is consumed entirely by systemd's gpt-auto-generator.

Signed-off-by: Simon de Vlieger <cmdr@supakeen.com>
@github-actions github-actions Bot added dracut-systemd Issues related to the dracut-systemd module modules Issue tracker for all modules labels Aug 3, 2026
@LaszloGombos

Copy link
Copy Markdown
Collaborator

Development moved to https://github.com/dracut-ng/dracut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dracut-systemd Issues related to the dracut-systemd module modules Issue tracker for all modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants