Grub conflicts with grub-customizer

No GUI alternative as far as I know.

A. The standard way is to edit the /etc/default/grub file. https://www.howtogeek.com/196655/how-to-configure-the-grub2-boot-loaders-settings/

Some possibilities:

  1. change the “GRUB_DEFAULT=” line so it points not at the first entry (number = 0) in the grub menu, but at a specific entry (menu line number minus 1)
  2. change the “GRUB_DEFAULT=” line to the “GRUB_DEFAULT= saved” so that it will auto boot the last selected menu entry if there is no manual input before the timeout

These won’t change order of entries but the cursor will automatically be placed over a selected entry by default.

B. Create custom entries in /boot/grub/custom.cfg - with this, you can order your boot menu entries the way you want

  • see this whole thread: Creating a new os-independent grub 2 bootloader - Tutorials - Manjaro Linux Forum

  • I didn’t use the information within the thread to create a os-independent bootloader but as a guide on how to create the various boot entries in my custom.cfg file

  • changes in your custom.cfg file do not need a sudo update-grub. It is automatically read by the /etc/grub.d/41_custom script , and will appear in the grub menu AFTER the normal entries in /boot/grub/grub.cfg (these are the entries generated by sudo update-grub), which is read by the /etc/grub.d/10_linux script. This is because 41 comes after 10

  • if you want your custom.cfg file entries to be displayed in boot menu BEFORE the grub.cfg entries, rename /etc/grub.d/41_custom to /etc/grub.d/09_custom (9 comes before 10).

you can use

sudo mv ~/initial/file/location ~/destination/location

Or just use root thunar to rename the file.

2 Likes