How to add permanent kernel commands to systemd-boot

Advice

I tried to edit /etc/kernel/cmdline but it doesnt works.

Editing this /boot/loader/entries/linux-cachyos.conf (im using cachyos) is working but once you update the kernel its reseting to default

Now what you need to do is to Edit /etc/sdboot-manage.conf

Change the LINUX_OPTIONS line to include your commands.

Example: LINUX_OPTIONS="zswap.enabled=0 nowatchdog quiet splash drm.edid_firmware=DP-1:edid/AMD.bin video=DP-1:e"

then save it and then run this on console:

sudo sdboot-manage gen

sudo mkinitcpio -P

This issue caused my quite a pain to writing the command for the custom refresh monitor edid because when i was updating the kernel it was reseting everytime.

Posted Jan 25, 2026, 12:35 PM UTC

37
Loading comments…