Kernel option in /efi/loader/loader.conf

During my research on EOS and systemd-boot, I came across instructions on how to set the default boot entry in loader.conf. This is especially important if you want to boot the LTS kernel permanently. But since I always want to boot from the stable kernel, I have changed the line in loader.conf to

default 97d361490a2d45f29ccbff367b3d2b09*-arch?-?.conf

But my question now is whether the -arch?-?.conf addition is really necessary. Without this explicit addition, the latest installed kernel is always booted by default, isn’t it?

That is needed if you have multiple kernels installed and want to boot the linux kernel by default.

If you only have a single kernel installed, you don’t need it.

Many people have different kernel variations installed such as linux-lts.

1 Like

That’s what I have: Stable and additionally LTS. So what should I enter in this line?

What you have above should be fine if you are trying to boot linux by default.

As long as that is your machine ID and not the one from the example.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.