How to Change GRUB2 Background Image (Splash Image) on Ubuntu.

In this tutorial we will see how to change the background image (splash screen) of the GRUB boot loader under Ubuntu.

When you start your system, a boot menu will show up containing an ordered list of operating systems and kernels. This boot menu is black by default and can be customized as follows:

Start the Ubuntu terminal and install first the grub2-splashimages package with this command:

$ sudo apt-get install grub2-splashimages

GRUB spalsh images are stored in the /usr/share/images/grub folder, you can access it with this command:

$ sudo nautilus /usr/share/images/grub

If you want to use a custom image, make sure it is in the TGA format, then place it in that folder. After deciding which image to use as splash screen for the GRUB2 boot loader, edit now the /etc/default/grub file with this command:

$ sudo gedit /etc/default/grub

At the end of the file, add this line:

GRUB_BACKGROUND=/usr/share/images/grub/YOUR-IMAGE.tga

Replace YOUR-IMAGE.tga with your custom image name.

# If you change this file, run ‘update-grub’ afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n ‘Simple configuration’

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
GRUB_CMDLINE_LINUX=””
GRUB_BACKGROUND=/usr/share/images/grub/YOUR-IMAGE.tga

When you finish, press CTRL+Q and save your file. Run now this command:

$ sudo update-grub

Restart now your computer to see if changes are successful (hold down the SHIFT key to bring up the GRUB boot screen while rebooting).

Enjoy!