How to Change the Linux GRUB Background
Previously I’ve posted how to change the GRUB background on Kali Linux, but that’s only for Kali Linux or also Debian. This time I will give a tutorial on how to replace GRUB for other distributions such as Ubuntu, Linux Mint, Manjaro and others.
Because this tutorial is for several different distributions and also have different Desktop Environments so they have different Text Editors, so in this tutorial I use the Text Editor. nano it is definitely present in all Linux distributions. Go straight to the tutorial.
First, prepare an image file that you will use as a GRUB background, the file can be in png or jpg format. Give the image file a unique name so it’s easy to remember.
Actually the file can be placed anywhere. But to make it easier, move the file to a directory / -> Usr -> Share -> Grub (/usr/share/grub/). In order to be able to move files to that folder you must have super user (root) access rights. So before that, login first as root user or use File Manager as root.
After successfully moving the image, open a terminal and type the following command:
sudo nano /etc/default/grub
Then the GRUB configuration file will open, we will find the location of the script for the GRUB background. Press combination CTRL + W to search, then type “background” to find the GRUB background script file and press enter
You will find some background words, among these words look for the script with the words “GRUB_BACKGROUND” or “IMAGE_BACKGROUND” like the image below, then rename the background file with the image file name that you have prepared, don’t forget to give the extension according to the image you are using, whether jpg or png.
![]() |
| GRUB Configuration File |
After successfully replacing the image file, press the combination CTRL + O on the keyboard to save the configuration and click enter. Then exit the nano text editor by pressing the keyboard combination CTRL+X.
Since you’ve made changes to the configuration, update GRUB with the following command:
sudo update-grub && sudo update-grub2
Restart your computer to see if the GRUB background has been successfully replaced with the image you want. Safe!
