|
14 years ago 14 |
As newbe I was interested in the desktop display especially in grub menu of linux mint. Now I'd like to share how to change grub splash image that already exists by using a simple configuration.
1. Design your splash image with gimp image editor or inkscape with resolution 640:480 pixel. Save image as splash-image.png to home directory.
2. Copy splash-image.png to /boot/grub/
Open gnome-terminal Application > Accessories > Terminal and then type the following command
mint@mint-desktop ~ $ sudo cp splash-image.png /boot/grub/
3. Edit 06_mint_theme
mint@mint-desktop ~ $ gksudo gedit /etc/grub.d/06_mint_theme
you will find the path of linuxmint splash image default
for i in {/boot/grub,/usr/share/images/desktop-base}/linuxmint.{png,tga} ; do
replace linuxmint with splash-image
for i in {/boot/grub,/usr/share/images/desktop-base}/splash-image.{png,tga} ; do
after that you can save and close.
4. Update the grub
mint@mint-desktop ~ $ sudo update-grub
Automatically the grub will detect your splash image like this
Generating grub.cfg ...
Found Debian background: splash-image.png
Found linux image: /boot/vmlinuz-2.6.32-21-generic
Found initrd image: /boot/initrd.img-2.6.32-21-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Or if you want to make instant to change the grub, you can download grub2 theme here.
Apologies that i bump in a bit late.
Maybe my program is a bit different. I use Linux LMDE and just place splash-image.png in /boot/grub and then run sudo update-grub2 and there it is.
When I try to fiddle with /etc/grub.d/06_mint_theme I get a warning of syntax error when trying to update grub2, so I just skip that.
I found that very useful. - Thanks! 8~)
@azulmarino : but sometimes we need previous image to change our grub theme, so if we have more images we can choose one of our image when we feel bored with the current image. 640x480 is recommended size to use in grub theme.
@lucien: thanks.. ^^
I agree with remoulder, just placing your custom image in /boot/groob/ named as linuxmint.png is much simpler than the procedure suggested by the author.
The image does not need to be 640x480. Bigger images will be shrinked and smaller ones stretched.
okay...thanks... ^_^
but I just need root access to edit 06_mint_theme
next time I will use gksu..
Sudo and gksu are most definitely NOT the same, though sometimes they can be interchanged. See http://www.psychocats.net/ubuntu/graphicalsudo for one viewpoint.
IMO a single file rename is much simpler than modifying the grub code.
@remoulder : I think using gksu or sudo is the same... if the command running on gnome-terminal better using sudo than gksu.
I don't rename it because I just want to make simple configuration especially for beginner like me.. ^_^
you can download more theme here >> http://gnome-look.org/content/show.php/Grub2+Splash+Image+?content=125657
A couple of things. Firstly you should use gksu to run gedit, not sudo.
Secondly, rather than editing 06_mint_theme, why not rename the existing linuxmint graphic and change the name of your custom graphic to linuxmint?