Saturday, June 12, 2010

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


1 comment:

  1. Titanium vs Steel - Tioga-ART
    Titanium vs titanium sunglasses Steel (Titanium-Ar) omega seamaster titanium is titanium tv apk a cross-platform gaming system. This board contains both Iron & Steel titanium stud earrings game titanium vs stainless steel apple watch modes, allowing you to customize your

    ReplyDelete

Search

Custom Search

Search Result