How to Update Grub Arch Endeavor Linux

Posted on

Update Grub Via Terminal

How to Update Grub on Arch Endeavor Linux – Grub (GNU GRand Unified Bootloader) is a boot loader package that contains a list of OS installed on the computer. Grub is also known as a multi-boot loader list view.

The grub contains the available operating system and kernel versions. each grub that appears has how long it takes to appear at the start of boot.

To be able to change the boot time to be faster, we need to change the grub settings. You can read a tutorial that I have made, How to Change Grub Login Speed ​​By Editing Grub and Grub Updates on Linux.

Ilustration by Pixabay

When Do We Upgrade Grub File?

Group files contained in the file /etc/default/grub, which contains basic commands in the boot list display process.

For those of you who are new to Linux, this change sometimes confuses.

After editing the grub file, why doesn’t it change anything, while what we edit is correct.

When there is a change in the settings in this Linux grub update file, we must update the grub.

Why? To let the system know that a change has been made in the grub file.

Otherwise, the boot system will read the default settings from this file before any changes occur.

Linux distributions generally have the same grub file location, but not in their update commands. The grub file is located in the /etc/default/grub folder. “grub” is the file.

It is important to know, to be able to open and edit grub files, you must be logged in as root or administrator.

After that open the file /etc/default/grub with a text editor available on your linux distro using terminal.

After the grub file is changed and saved, then type the command to update according to your distro below.

Debian (Ubuntu, Mint, Zorin, Linux Lite, dan others)

Using a Debian distro or its derivatives, the grub upgrade command is very easy, just by typing the command:

sudo update-grub

Arch Linux (Endeavour, Manjaro dan others)

Unlike Debian and its derivatives, Arch GRUB loads the /boot/grub/grub.cfg configuration file every boot.

grub-mkconfig -o /boot/grub/grub.cfg

The command above is a linux grub update command that I have tried, from this experience I share how to do it with you. For other Distros like Red Hat, Centos, Slackware I have never tried it.

Hopefully this Update Grub Arch Linux article is useful.

Leave a Reply