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

23,281FansLike
386FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

5 ways to send emails using the command-line in Linux

Did you master using the command-line in Linux? There is no limit to what one can do via the Linux Terminal. One of such things we are going to discuss today are methods of sending an email using the command-line.

5 ways to check if a Port is open on a remote Linux PC

There is an ample number of ways to check for any open ports on a remote Linux PC. Knowing open ports on a Linux machine helps system administrators to connect to the remote PC for troubleshooting system and cloud server issues.

How to clone hard disk on Linux using Clonezilla

Disk cloning refers to the process of copying data from one disk to another, thus creating a one-to-one copy of the drive. Technically, this process is possible using the copy-and-paste method.

Ubuntu MATE 20.04 LTS Review: Refinement at its Best

Ubuntu MATE 20.04 LTS was released a week ago after two years of development. Official updates and security patches will be provided until April 2025. I have installed it on my test laptop for a spin and here are my observations based on almost a week usage.