How to use Grub Customizer to change GRUB boot order or default boot entry in Ubuntu, Linux Mint, Debian or Fedora

Those dual-boot (multiple Linux distributions or Linux and Windows) may prefer to change the default GRUB boot order or default boot entry, so by default the most commonly used operating system is selected / used first.

GRUB 2 boot menu

rub customizer, A graphical (Gtk) interface for configuring certain GRUB 2 settings, which can be used to change the default GRUB boot menu order without manually editing the configuration file, for example /etc/default/grubTo change the order of the GRUB boot menu using Grub Customizer, go to List configuration Tab, select the boot menu item, and then use the up and down arrows to change its position:Grub Customizer grub menu orderIn addition to changing the order of the GRUB boot menu, you can also change the default OS (the boot item selected by default). In this way, even if an entry is displayed last in the GRUB boot list, the entry will be automatically selected when the GRUB boot menu is loaded. The option to change the default GRUB boot entry is located in the Grub customizer General settings Tab-Choose the default startup item from predefined fall:Change the default selection of GRUB boot menu

After using Grub Customizer to make any changes to the GRUB boot menu, remember to click Save Button to save the configuration and generate a new grub.cfg.
Grub Customizer can be installed from the repositories of some Linux distributions (including Debian and Fedora). For Ubuntu, it can be installed from PPA (for Ubuntu versions before 19.04) (located in the repositories of Ubuntu 19.04, 19.10, and 20.04). Install Grub Customizer:

  • Fedora:
sudo dnf install grub-customizer
  • Debian sid, buster or Stretch (reverse porting):
sudo apt install grub-customizer
  • Ubuntu 18.10, 18.04, 16.04 and 14.04 / Linux Mint 19, 18 and 17:
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt update
sudo apt install grub-customizer

you can also download (Scroll down to get the latest version) Grub Customizer DEB package without adding PPA.

  • Ubuntu 19.04 (Disco Dingo), 19.10 (Eoan Ermine) and 20.04 (Focal Fossa):
sudo apt install grub-customizer

On other distributions, look for Grub Customizer in the package manager, or view Instructions Used to build applications from Resources.