Can't add kernel parameters using systemd-boot

,

Hello,

I use Fedora KDE Spin with systemd-boot (installed through network install).
I’ve been trying to add the following two kernel parameters but no luck so far, systemd-boot doesn’t apply them (or Fedora).

resume=UUID=1738bc30-d4e1-406c-ac93-58892ad06e00
resume_offset=11400120

What I’ve tried so far:

  • Edit /etc/kernel/cmdline and rebuild initramfs with sudo dracut --regenerate-all --force, reboot, the parms aren’t when pressing ‘e’ on any of the entries in systemd-boot
  • Create a cmdline.conf file in /etc/dracut.conf.d and add the kernel parms inside the option kernel_cmdline, rebuild initramfs with the cmd above, reboot, check with ‘e’, nothing gets applied (ArchWiki dracut page, as ref)

What I haven’t tried:

  • Editing the .conf entries in /boot/efi/loader/entries, since those get replaced on each kernel update, right?

Any help is appreciated.

Thank you.

The kernel parameters are taken from /etc/kernel/cmdline. You can edit that file and then run kernel-install add-all.

If you have sdubby installed you can run grubby args to set these arguments. grubby is in this case a symbolic link to a program provided by sdubby, and not the one provided by the grubby package.

Thank you!