How to change the OS boot order on the Grub bootloader

The default bootloader in Linux is called Grub, and usually, it will boot to Linux by default. This tutorial guides you on how to change the items in the bootloader.

If you are a newbie to the Linux world, most probably you have chosen to install a Linux distribution dual-boot with Windows. That assumption is due to the fact that it may take some time to get used to Linux and make the decision to switch over completely. The default bootloader in Linux is called Grub, and usually, it will boot to Linux by default.

So in case, you prefer to boot to Windows first, here is how to make this happen. In this guide, we will walk you through changing the operating system boot order on the Grub boot-loader by using the Grub Customizer.

Changing the OS boot order in the Grub Bootloader

Grub Customizer is a graphical interface tool is used to configure some Grub 2 options. It can be used to rearrange the Grub boot menu order with no need to edit the default Grub configuration files (like the /etc/default/grub) manually.

Installing the Grub Customizer package

The Grub Customizer can be installed from the default Linux distributions repositories like Fedora and Debian. For Ubuntu systems older than 19.04, it can be installed by adding the PPA to the Ubuntu repository. However, for Ubuntu 19.04, the PPA for the Grub Customizer is already included in it.

On Ubuntu (Older than 19.04) and Linux Mint

sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt update
sudo apt install grub-customizer

On Ubuntu 19.04

sudo apt install grub-customizer

On Debian

sudo apt install grub-customizer

On Fedora

Step 1. Install the Grub Customizer package using the next command.

sudo dnf install grub-customizer

Install Grub-Customizer On Fedora
Install Grub-Customizer On Fedora

After the Grub Customizer installation completes successfully, you will get something like the below screenshot.

Grub-Customizer Installed Successfully On Fedora
Grub-Customizer Installed Successfully On Fedora

Step 2. To open the Grub Customizer application, first, open the Activities tab from the top left of your Fedora desktop.

Open Activities From Fedora Desktop
Open Activities From Fedora Desktop

Step 3. Search for the Grub Customizer application and open it.

Search For Grub-Customizer
Search For Grub-Customizer

Step 4. You will be required to enter your sudo password.

Authentication Required
Authentication Required

Step 5. The Grub Customizer interface will look like the below screen. In the List configuration tab, you will find all the available operating systems.

List Of Available Operating Systems
List Of Available Operating Systems

Step 6. To change the order of a specific operating system, select the needed entry, then press the up or down arrow from the top panel.

Move Selected Operating System Up or Down
Move Selected Operating System Up or Down

Step 7. From the General settings tab, you can select which operating system be your default one to boot. Also, you can set the time to the default boot option.

More Options
More Options

Step 8. After setting your changes, do not forget to press the Save button to apply the changes to the grub.cfg configuration file.

That’s it for now.

Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,270FansLike
192FollowersFollow

LATEST ARTICLES

cool and fun linux commands
The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.
gamemode enable linux
GameMode is a combination of various libraries and daemons that allows all the users to improve the gaming performance on the Linux system. Developed by games publisher Feral Interactive, it improves gaming performance by requesting a group of options that will be applied temporarily to the Linux system.
best music players for linux
For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the 5 Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.