🌐
CachyOS
wiki.cachyos.org › configuration › boot_manager_configuration
Boot Manager Configuration | CachyOS
September 4, 2025 - To pass kernel parameters to the commandline, modify “Boot using default options” in /boot/refind_linux.conf ... "Boot using default options" "root=PARTUUID=1cb353ec-7f03-4820-8b4b-03baf53a208f rw zswap.enabled=0 nowatchdog quiet splash" Changes to both configuration files will immediately take effect. Running a command to “save” changes is unnecessary. ... Unlike systemd-boot and rEFInd, GRUB only has one configuration file located in /etc/default/grub.
🌐
ArchWiki
wiki.archlinux.org › title › Systemd-boot
systemd-boot - ArchWiki
March 1, 2026 - Notes: All partitioning info should be moved to partitioning, to leave only steps relevant to installing systemd-boot if you have such a setup. (Discuss in Talk:Systemd-boot) A separate /boot partition of type "Linux extended boot" (XBOOTLDR) can be created to keep the kernel and initramfs ...
Discussions

Persistent systemd-boot entry changes in CachyOS
Hi. I have the latest CachyOS installed with KDE and all updates. I have systemd-boot configured with Secure Boot and TPM. My problem is that when I edit the file /boot/loader/entries/linux-cachyos.conf and change the name, for example from “Linux Cachyos” to “CachyOS,” and add the ... More on discuss.cachyos.org
🌐 discuss.cachyos.org
0
0
August 17, 2025
systemd-boot loader and entries configs get deleted after kernel updates
check bootctl bootctl status should print the current configuration I think that while updating bootctl update is called. So you could check if that deletes loader.conf etc. This would be a bug, I guess. More on reddit.com
🌐 r/archlinux
21
5
November 28, 2023
How can I persist kernel options with systemd-boot?
Hey All I need to add some specific boot options, in my case it’s mem_sleep_default=deep I can add this to the /boot/loader/entries/ file but this seems to get regenerated when I upgrade (kernel or systemd, not figured it out yet). What is the precursor to that file? More on forum.manjaro.org
🌐 forum.manjaro.org
0
0
September 2, 2020
systemd boot kernel
You need to create an entry for each kernel: https://wiki.archlinux.org/title/systemd-boot#Adding_loaders More on reddit.com
🌐 r/archlinux
7
9
March 22, 2022
🌐
CachyOS
wiki.cachyos.org › configuration › secure_boot_setup
Secure Boot Setup | CachyOS
2 weeks ago - sbctl ships with a pacman hook meaning it will automatically sign all new files upon a kernel or boot manager update. ... CachyOS uses systemd-boot-update.service provided by systemd to update the boot manager on reboot.
🌐
GitHub
github.com › CachyOS › systemd-boot-manager
GitHub - CachyOS/systemd-boot-manager · GitHub
# config file for sdboot-manage # kernel options to be appended to the "options" line #LINUX_OPTIONS="" #LINUX_FALLBACK_OPTIONS="" # the DEFAULT_ENTRY option determines if and how the default entry in loader.conf should be managed # "latest" The most recent CachyOS kernel will be used(the one with the highest version number) # "oldest" The oldest CachyOS kernel will be used(the one with the lowest version number) # "manual" Don't modify the default setting #DEFAULT_ENTRY="latest" # ENTRY_ROOT is a template that describes the beginning of the name for system-boot entries # The ENTRY_ROOT will b
Starred by 7 users
Forked by 5 users
Languages   Shell
🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
Persistent systemd-boot entry changes in CachyOS - Issues & Assistance - CachyOS Forum
August 17, 2025 - Hi. I have the latest CachyOS installed with KDE and all updates. I have systemd-boot configured with Secure Boot and TPM. My problem is that when I edit the file /boot/loader/entries/linux-cachyos.conf and change the name, for example from “Linux Cachyos” to “CachyOS,” and add the variable amd_pstate=active, the changes disappear every time I update the kernel.
🌐
System76 Support
support.system76.com › articles › kernelstub
Kernelstub Usage - System76 Support
2 weeks ago - -o "OPTIONS", --options "OPTIONS" The total boot options to be passed to the kernel -a "OPTIONS", --add-options "OPTIONS" Boot options to add to the configuration (if they aren't already present) -d "OPTIONS" --delete-options "OPTIONS" Boot options to remove from the configuration (if they're present already) -g LOG --log-file LOG The path to the log file to use. Defaults to /var/log/kernelstub.log -l, --loader Creates a systemd-boot compatible loader configuration -n, --no-loader Turns off creating loader configuration -s, --stub Set up NVRAM entries for the copied kernel -m, --manage-only Only copy entries, don't set up the NVRAM -f, --force-update Forcibly update any loader.conf to set the new entry as the default -v, --verbose Increase program verbosity and display extra output.
🌐
Reddit
reddit.com › r/archlinux › systemd-boot loader and entries configs get deleted after kernel updates
r/archlinux on Reddit: systemd-boot loader and entries configs get deleted after kernel updates
November 28, 2023 -

Hi everyone,

I need some help to resolve this issue. The last two kernel updates since setting up systemd-boot had ended up in getting the loader.conf and the different entries files automatically deleted on ArchLinux. Of course it does not make sense to me it is doing this but I have to recreate them from a liveCD every time.

To compare, I have another Arch-based system where I have a similar systemd-boot configuration and this does not happen. Yes, these two systems have different system configurations when it comes to BIOS and UEFI versions, etc, so I do understand it is almost comparing apples to oranges in some ways.

🌐
Manjaro Linux
forum.manjaro.org › support
How can I persist kernel options with systemd-boot? - Support - Manjaro Linux Forum
September 2, 2020 - Hey All I need to add some specific boot options, in my case it’s mem_sleep_default=deep I can add this to the /boot/loader/entries/ file but this seems to get regenerated when I upgrade (kernel or systemd, not figured…
Find elsewhere
🌐
Reddit
reddit.com › r/archlinux › systemd boot kernel
r/archlinux on Reddit: systemd boot kernel
March 22, 2022 -

Hello! Yesterday i installed arch witch systemd boot instead of grub, i also instaled the zen-kernel, but when i turn on the PC i cannot change between kernels like i use to do on grub. How can i change the kernel? Thanks for the answers!

🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
Update/configure systemd-boot after Kubuntu install - Issues & Assistance - CachyOS Forum
August 27, 2025 - Hi, I’ve had CachyOS installed for about a week now (coming from Mint) and have just installed Kubuntu alongside to act as a (hopefully) very stable backup option. Neither Kubuntu’s GRUB nor CachyOS’ systemd-boot have …
🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
Select kernel at boot - Issues & Assistance - CachyOS Forum
November 11, 2024 - Hello, If I have installed two kernels. Where can I set which one is loaded automatically on boot?
🌐
CachyOS Forum
discuss.cachyos.org › issues & assistance
How to manage systemd-boot? - Issues & Assistance - CachyOS Forum
June 28, 2024 - Hello there! I am trying to add a kernel parameter in systemd-boot. I want to add “acpi_backlight=native” parameter so that i can control my screen brightness. I added the line in /etc/sdboot-manage.conf. Also in /etc/kernel/cmdline but had no luck. In EndeavourOS i added the line in /etc/kernel/cmdline and then type “sudo reinstall-kernels” command but it seems it’s not available on cachyOS.
🌐
Reddit
reddit.com › r/archlinux › updating the kernel removes all boot entries (systemd)
r/archlinux on Reddit: Updating the kernel removes all boot entries (systemd)
October 14, 2023 -

Hi! I get really strange behavior of pacman: updating kernel removes all entries:

> ls /boot/loader/entries
arch.conf

> cat /boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=/dev/nvme0n1p5 rootflags=subvol=@ rw

> cat /boot/loader/loader.conf 
default arch.conf
timeout 3
#console-mode keep

> sudo pacman -Sy linux
....
....
(4/4) Updating systemd-boot entries
Error: There are no boot loader entries after entry generation
error: command failed to execute correctly

> ls /boot/loader/entries 
<empty>

🌐
CachyOS
wiki.cachyos.org › configuration › post_install_setup
Post Install | CachyOS
2 weeks ago - It is advised to reboot your computer ... if the kernel got an update). CachyOS supports offline system upgrades using the pacman-offline script. This allows your system to download package updates and apply them on the next reboot.
🌐
CachyOS
wiki.cachyos.org › installation › boot_managers
Offered Boot Managers | CachyOS
December 21, 2025 - If you encounter such issues, consider using systemd-boot or Limine.
Top answer
1 of 2
11

Pop!_OS manages boot entries using kernelstub. Its configuration is stored in a JSON file at /etc/kernelstub/configuration. You can add boot options there under defaultkernel_options.

See the other answer for information on how to edit this file using the kernelstub command. Don't forget to upvote that answer if you find it helpful.

2 of 2
2

May I suggest trying the kernel boot option "acpi_osi=" in the place of the option you suggested?

This will correct a lot of issues with sleep and hibernate.

But to answer your question as you asked.

It is recommended to test the parameter on this setup before adding it, one would suggest you hold the space bar when powering up the system to catch the boot menu, then hit the "e" key to edit the line command line and test your boot option before saving it.

kernelstub works as following

To add a boot use -a "options" yours would be as follows

kernelstub -a "mem_sleep_default=deep" 

To delete a boot option use -d "options" yours would be as follows

kernelstub -d "mem_sleep_default=deep"

and

# kernelstub -p
kernelstub.Config    : INFO     Looking for configuration...
kernelstub           : INFO     System information: 

    OS:..................Pop!_OS 22.04
    Root partition:....../dev/dm-1
    Root FS UUID:........f3b6a3b7-32e7-4f9c-9b8d-1952d5d8e0f3
    ESP Path:............/boot/efi
    ESP Partition:......./dev/nvme0n1p1
    ESP Partition #:.....1
    NVRAM entry #:.......-1
    Boot Variable #:.....0000
    Kernel Boot Options:.quiet systemd.show_status=false splash loglevel=0 acpi_osi=
    Kernel Image Path:.../boot/vmlinuz-6.2.6-76060206-generic
    Initrd Image Path:.../boot/initrd.img-6.2.6-76060206-generic
    Force-overwrite:.....False

kernelstub           : INFO     Configuration details: 

   ESP Location:................../boot/efi
   Management Mode:...............True
   Install Loader configuration:..True
   Configuration version:.........3
🌐
Gentoo Wiki
wiki.gentoo.org › wiki › Systemd › systemd-boot
systemd/systemd-boot - Gentoo wiki
August 19, 2025 - FILE /efi/loader/entries/gentoo-sources-kernel.confMenu entry file · title Gentoo Linux linux /vmlinuz initrd /initramfs options root=/dev/sda3 quiet · For more options please refer to the Bootloader Specification · Systemd's kernel-install can be used to automate the process of generating menu entry files (and initramfs) whenever make install is called during a kernel build.
🌐
CachyOS
wiki.cachyos.org › features › cachyos_settings
CachyOS Settings | CachyOS
2 weeks ago - Available both in binary and systemd service format. The systemd service will automatically apply the changes at boot, while the binary can be used to apply the changes on demand.