Change Grub 2 Bootloader Background Image via Command Line

Hello Linux Mates.

In this article I will show you how to change the Grub2 Bootloader’s Background Image via command line interface. All the new Linux distributions use Grub 2, so this article is generical for Ubuntu 13.04 / 12.10 / 12.04 / 11.10, Linux Mint 14 / 13 / 12, Debian Sid / Wheezy / Squeeze, Fedora 18 / 17 / 16, OpenSUSE 12.3 / 12.2 / 12.1 etc.

I will use r2d2.png as a splash image example. Replace it with the image you want to set for your grub menu.

Copy the image you want to set as splash image for the GRUB2 menu in /boot/grub/ :

$ sudo cp /home/linuxg/r2d2.png /boot/grub/r2d2.png

To apply the changes, you need to update the grub, with the command:

$ sudo update-grub

After you update the grub, you should get a message like this (ammong others)

Generating grub.cfg …
Found background image: r2d2.png
Found linux image: /boot/vmlinuz-3.8.0-16-generic
Found initrd image: /boot/initrd.img-3.8.0-16-generic
Found memtest86+ image: /boot/memtest86+.bin
...
done

Tagged with: , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!