You are not logged in.

#1 2023-03-22 18:32:48

SteffNC
Member
Registered: 2019-05-22
Posts: 14

[Solved] How to change the boot menu entries order?

Hi,
I am wondering how to change the order of the menu entries.
Have tried to name the entries already, but it does not do the trick.

bootctl list shows wrong order as well:

bootctl list
         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux lts fallback
           id: 04_arch-lts-fallback.conf
       source: /boot//loader/entries/04_arch-lts-fallback.conf
        linux: /boot//vmlinuz-linux-lts
       initrd: /boot//intel-ucode.img
               /boot//initramfs-linux-lts-fallback.img
      options: cryptdevice=/dev/disk/by-uuid/17eafaac-6c17-4d16-b145-cbbd24eb2827:main root=/>

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux lts
           id: 03_arch-lts.conf
       source: /boot//loader/entries/03_arch-lts.conf
        linux: /boot//vmlinuz-linux-lts
       initrd: /boot//intel-ucode.img
               /boot//initramfs-linux-lts.img
      options: cryptdevice=/dev/disk/by-uuid/17eafaac-6c17-4d16-b145-cbbd24eb2827:main root=/>

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux fallback
           id: 02_arch-fallback.conf
       source: /boot//loader/entries/02_arch-fallback.conf
        linux: /boot//vmlinuz-linux
       initrd: /boot//intel-ucode.img
               /boot//initramfs-linux-fallback.img
      options: cryptdevice=/dev/disk/by-uuid/17eafaac-6c17-4d16-b145-cbbd24eb2827:main root=/>

         type: Boot Loader Specification Type #1 (.conf)
        title: Arch Linux (default) (selected)
           id: 01_arch.conf
       source: /boot//loader/entries/01_arch.conf
        linux: /boot//vmlinuz-linux
       initrd: /boot//intel-ucode.img
               /boot//initramfs-linux.img
      options: cryptdevice=/dev/disk/by-uuid/17eafaac-6c17-4d16-b145-cbbd24eb2827:main root=/>

bootctl update does not help as well.. Any idea?

Last edited by SteffNC (2023-03-22 18:50:33)

Offline

#2 2023-03-22 18:43:18

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 671

Re: [Solved] How to change the boot menu entries order?

The default is to sort in reverse order. You can either rename the files or use the sort-key option to explicitly set each entry's order.

Offline

#3 2023-03-22 18:53:50

SteffNC
Member
Registered: 2019-05-22
Posts: 14

Re: [Solved] How to change the boot menu entries order?

Thank you very much, that was an easy one. I haven´t found a word about that in the wiki.

Offline

Board footer

Powered by FluxBB