How to customize GRUB 2 with themes?

Play Video

What is GRUB?

The GRUB (Grand Unified Bootloader) is a bootloader available from the GNU project. A bootloader is very important as it is impossible to start an operating system without it. It is the first program which starts when the program is switched on. The bootloader transfers the control to the operating system kernel.

Default GRUB interface

This is how GRUB looks like by default- 

GRUB 2

How to customize your GRUB using themes?

Are you bored with the default Ubuntu Grub display? If so, then you can replace it with themes provided for Grub in Gnome Look. On this site, there are many grub themes that you can use to enhance the appearance of Grub on Ubuntu.

How do you install themes on Grub?

You can try these 2 ways:

1. Install manually using the .sh file in the folder in the theme package. Below are the steps to install it!

  • Extract the theme file that you downloaded and open the terminal. In the extracted file, there is a filenamed install.sh. The examples are those in the vimix-2k folder as shown below!.
Install GRUB Themes on Ubuntu
Install Vimix Grub Themes On Ubuntu and Ubuntu based distros
  • I assume that in the vimix-2k folder there is an install.sh file, and you have changed the directory to that folder using the terminal as before. Next, please execute the file using the sudo ./install.sh command in the vimix-2k folder. If successful, the display will look like the picture above!.
  Please reboot your computer, and Grub should have changed themes !.
2. The second way is an easier way, which is to use the help of Grub Customizer. Below are the steps to install the Grub theme using grub customizer!
 
 
How to Install GRUB CUSTOMIZER:
 #1 For Linux Mint:
  • Just goto Software Manager and search GRUB
  • Install GRUB Customizer

#2 For other Ubuntu based distros

Step 1: Open the Terminal application

Open your Ubuntu command line, the Terminal, either through the system Dash or the Ctrl+Alt+T shortcut.

Open Ubuntu Terminal

Step 2: Add Grub Customizer PPA repository to your system

Enter the following command in order to add the Grub Customizer PPA repository to your system. This will help you in installing the required software, and also enable your system to fetch upgrades and updates from the added repository in the future.

$ sudo add-apt-repository ppa:danielrichter2007/grub-customizer

Tip: Instead of typing the command, you can copy it from here and paste in the Terminal by using the Ctrl+Shift+V, or by using the Paste option from the right-click menu.

Add Ubuntu PPA for Grub Customizer

Please note that only an authorized user can add, remove and configure software on Ubuntu. Enter the password for sudo, after which the PPA repository will be added to your system.

Step 3: Upgrade your system’s Repository Index

The next step is to update your system’s repository index through the following command:

$ sudo apt-get update

This helps you in installing the latest available version of a software from the Internet.

Update package list

Step 4: Install Grub Customizer

Now that you are done with all the prerequisites required to install the Grub Customizer, use the following command as sudo in order to install it on your system:

$ sudo apt-get install grub-customizer

The system will prompt you with a Y/n option to proceed with the installation procedure. Enter Y to continue after which the software will be installed on your system.

Step 5: Verify Grub Customizer Installation

After you have installed the Grub Customizer, you can use one of the following two options to ensure that it is indeed installed on your system:

$ grub-customizer --version
$ grub-customizer -v
 How to use GRUB Customizer to install themes?
 
install grub themes with grub customizer
 
  • Please extract the theme and copy the theme file into the directory /boot/grub/themes (must enter the root).
  • Open Grub Customizer (requires authentication).
  • Select the Appearance Settings menu. And on the Theme menu, select the theme that you moved to the /boot/grub/themes directory.
  • Save and reboot. If successful, the appearance of the grub theme will change as you wish!.
 To restore grub to the default view, please select (Custom Settings) in the Theme menu. Save and Reboot.
 
 

After theme installation-

This is how GRUB Customizer looks like after installation of theme-

GRUB 2 vimix theme
The problem that I got
 When I choose a theme using Grub Costumizer, I get a Grub Customizer Theme can’t find “theme.txt” error.
 
How I resolve this problem:
Apparently, Grub Customizer can’t find the theme.txt file in that folder because I copied all the extracted theme files that I got. So, to resolve this error, I just copied the file inside the theme folder without including the install.sh file that is outside the folder as shown below:
Grub Customizer can't find theme.txt on ubuntu
 
Please choose one of the 2 steps above. Choose what you think is the easiest. Hopefully useful and ENJOY!.

Leave a Reply