$sudo apt-get install grub2-splashimages
Now we have a couple grub2 themes under /usr/share/images/grub/ folder.Let's select a grub2 theme from the following folders :
/usr/share/images/desktop-base/
/usr/share/images/grub/
$ls /usr/share/images/grub/
My output :
BLABLABLABLA
Moraine_Lake_17092005.tga TulipStair_QueensHouse_Greenwich.tga
BLABLABLABLA
In this howto i am selecting Moraine Lake splash image.Note down the name of the file and edit the following file :
$sudo gedit /etc/grub.d/05_debian_theme
Search for this line :
for i in {/boot/grub,/usr/share/images/desktop-base}/moreblue-orbit-grub.{png,tga}
And change it to :
for i in {/boot/grub,/usr/share/images/desktop-base,/usr/share/images/grub}/Moraine_Lake_17092005.{png,tga}
This basically tells GRUB2 to look for image name “Moraine_Lake_17092005” in the following locations:
/boot/grub
/usr/share/images/desktop-base
/usr/share/images/grub
Do not forget to change "Moraine_Lake_17092005" with your selected theme's name.Save and exit.
Now we have to regenerate grub's config (grub.cfg) with the following command :
$sudo update-grub
Reboot and test your Grub2 theme.
PS: The output of $update-grub command should look like this (BOLD one) :
Generating grub.cfg ...
Found Debian background: Moraine_Lake_17092005.tga
Found linux image: /boot/vmlinuz-2.6.30-8-generic
Found initrd image: /boot/initrd.img-2.6.30-8-generic
Found linux image: /boot/vmlinuz-2.6.29-02062903-generic
Found initrd image: /boot/initrd.img-2.6.29-02062903-generic
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /boot/memtest86+.bin
Found Moblin release 2 (Moblin) on /dev/sda3
done
| | | | |
| | | | |
| | | | |
|
No comments:
Post a Comment