GRUB2-Change the background image of GRUB

Home/Linux/GRUB2-Change the background image of GRUB

GRUB2-Change the background image of GRUB




Using Ubuntu, you have got tired of seeing a purple background of GRUB when the Linux was booting up. But starting from Debian Family, GRUB adds a background image which looks better than a static boring colour of GRUB.

This post explains how to change the background image. The steps mentioned below will let you change the background image, but  following these steps should also work on other similar Linux versions like MINT.

GRUB 2 is the absence cossack loader and administrator for Ubuntu back adaptation 9.10 (Karmic Koala). As the computer starts, it either presents a card and awaits user ascribe or automatically transfers ascendancy to an operating arrangement kernel. It is a brood of GRUB (GRand Unified Bootloader). It has been absolutely rewritten to accommodate the user decidedly added adaptability and performance. It is Free Software.

Users can dynamically configure the GRUB subsystem. It provides a simple, bash-like, command band interface as it loads, acceptance boot-time changes such as selecting altered kernels or antecedent RAM disks and absolution users address new cossack sequences on the fly in accession to the accustomed card lists. It is awful portable. It supports assorted executable formats and is geometry-translation independent, including abutment for analytic block acclamation (LBA). It supports all frequently acclimated Unix book systems, and the Windows book systems FAT and NTFS. It can download and automatically decompress operating arrangement cossack images from arrangement thus, acknowledging diskless systems. It supports operating systems that do not multi-boot, application alternation loading. It uses the aforementioned two or three curve of command sequences to cossack any DOS, Windows, Linux, BSD or Solaris system, authoritative it actual simple to plan with it. The alternation loaders for the accurate Unix-like operating systems are congenital into it.

Choosing a GRUB 2 Background Image

It can use PNG, JPG/JPEG and TGA images for the background. The image must meet the following specifications:

  • JPG/JPEG images must be 8-bit (256 colors). Else you will get errors saying “Too many Huffman tables”.
  • Images should be non-indexed, RGB.
  • The GIMP image editor is one application which can edit images of your choice to confirm to the GRUB2 standards. (Use the Image > Mode menu options to set the properties to RGB and ensure the mode is not set to Indexed.)

To install GIMP editor:

sudo apt-get install gimp

Changing the background image is just a few step process:

  • Copy the image of your choice in the following directory mentioned,
cp yourimage.jpg /boot/grub

NOTE: If any image already exists in the directory then first delete it or the new image will not be able to apply to your background.

  • Updating it will make your changes apply,
sudo update-grub

grub

Image Priority

If more than one image is available, the following order is used to determine which image is to be used as the background image.

  1. GRUB_BACKGROUND setting in /etc/default/grub

  2. First image found in /boot/grub
    • The first image found, in this order: jpg, JPG, jpeg, JPEG, png, PNG, tga, TGA
    • If multiple images of the same extension, alphanumerically.
  3. Wallpaper selected in /usr/share/desktop-base/grub_background.sh

  4. Default theme (no image): default_theme colors laid out in /etc/grub.d/05_debian_theme

By | 2017-05-22T19:58:08+00:00 April 6th, 2016|Linux|3 Comments

About the Author:

3 Comments

  1. Anika April 7, 2016 at 5:52 pm - Reply

    Thanku its really helpfull

    • cloudinfinity April 8, 2016 at 6:22 pm - Reply

      Surely, it does!!!

  2. Abhinav July 7, 2016 at 9:47 am - Reply

    Oh Nice, i was looking for this, thanks.

Leave A Comment

nineteen − seventeen =

Avada WordPress Theme