After a fresh Ubuntu installation, some prefer to add a background image to Grub 2 instead of default boring amethyst. Before, we added/changed Grub2 background by using a third-party program or complex file configuring.
In Ubuntu 11.04, the grub2 is smart and if you put an image into “/boot/grub” it automatically use it as background after a grub-update. See details:
1.) Open up a terminal window and run following command to open nautilus file browser with super user privilege.
sudo nautilus
Then you can do copy and paste things in opened up file browser without user limit.
2.) Copy an image file you want to use as grub background and paste it under /boot/grub/ directory.
3.) Run this command:
sudo update-grub
Then, you will see the similar output:
[sudo] password for wraith:
Generating grub.cfg …
Found background image: White_flowers_by_Garuna_bor-bor.jpg
Found linux image: /boot/vmlinuz-2.6.39-0-generic
Found initrd image: /boot/initrd.img-2.6.39-0-generic
Found linux image: /boot/vmlinuz-2.6.38-8-generic
Found initrd image: /boot/initrd.img-2.6.38-8-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Note:
1.) grub2 background image format includes: jpeg, tga, and png. Image size supports: check vbeinfo
command while booting into grub and press C.
2.) I just copied and pasted several images into /boot/grub/, only first one was used as background after update grub.