Create & Change SplashImage for GRUB in Ubuntu

before we start, you need :

– file with *.xpm.gz format type
(http://easylinux.info/uploads/ubuntu.xpm.gz)

if you want to use your own pic, you’ll need :

– Image Editor (ImageMagick | there are some at ubuntu repository)

Splash Image would show when we get to the boot menu (when we choose the OS we’d like to use)

Make your own .xpm.gz file

open terminal, execute this command :

convert -resize 640X480 -colors 14 file_name.(jpg/jpeg/png) file_name.xpm && gzip file_name.xpm.gz

if no error, file with .xpm.gz would show on the path you use up there

after that,

create some directory at /boot/grub/

sudo mkdir /boot/grub/images/

move the file we just created to that directory

sudo cp nama_file.xpm.gz /boot/grub/images/
don’t forget to change the ownership to root

make some backup for file menu.lst

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup

change the content of file menu.lst by using any editor you’re friendly with

gksudo (gedit/vim/vi/dll) /boot/grub/menu.lst

find this part,

# menu.lst – see : grub(8), info grub, update-grub(8),
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

insert this line onto that file, anywhere.
splashimage (hd0,0)/boot/grub/images/file_name.xpm.gz

* I assumed that hd0,0 was location of ubuntu boot

when you’re done, save and reboot your komputer…


Happy Trying

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s