Systemd-boot: I cannot change my boot kernel to 5.4 from 5.9

During installation, I installed both 5.4 and 5.9. Manjaro automatically picked 5.9 as my default kernel. I want to change it to 5.4 but it keeps on booting to 5.9.

What am I doing wrong? thanks

➜  cd /boot/loader
/boot/loader 
➜  cat loader.conf
#timeout 3
#console-mode keep
default manjarolinux5.4
timeout 10
/boot/loader 
➜  ls -al entries       
total 24
drwxr-xr-x 2 root root 4096 Dec 16 07:57 .
drwxr-xr-x 3 root root 4096 Dec 19  2020 ..
-rwxr-xr-x 1 root root  207 Dec 16 07:57 manjarolinux5.4.conf
-rwxr-xr-x 1 root root  216 Dec 16 07:57 manjarolinux5.4-fallback.conf
-rwxr-xr-x 1 root root  207 Dec 16 07:57 manjarolinux5.9.conf
-rwxr-xr-x 1 root root  216 Dec 16 07:57 manjarolinux5.9-fallback.conf
/boot/loader 
➜  uname -r
5.9.11-3-MANJARO

Hi @mrjayviper :wink:

Maybe add .conf?

default manjarolinux5.4.conf

The original contents of loader.conf has no “.conf”… :upside_down_face::upside_down_face::upside_down_face:

No idea… but look at this: https://wiki.archlinux.org/index.php/Systemd-boot#Loader_configuration

:no_mouth:

Maybe this can be of use.

1 Like

I’ll try your suggestion later. Thanks

  1. While booting press F1 or anyother key to display the boot menu of sd-boot if it is not shown by default.
  2. Navigate to the entry you want as default, and press d to make it the default entry to boot with.

If that does not work, you need to provide:

  1. The contents of your manjarolinux5.x* config files.
  2. Output of sudo bootctl list.

PS: You don’t need to provide .conf on the default line because that is implied.

You can try this:

Sorry but i can’t help to say that that article is full of “no useful info” wrt sd-boot, even man sd-boot does a better job :rofl:

@TriMoon oh well…