Change Background Image in GRUB through command line

It is actually very simple to change the grub background image in LINUX and edit the grub and put it over there however there are a few ground rules we need to remember .

  • It should be a xpm image with just 14 colours in it ( that is sadist but thats the way it is)
  • It should be a 640 x 480
  • Gzip it

Now going step by step walk through how to change the background through your terminal

  • Once you have gzipped your image copy it into your /boot/grub/
    • sudo cp -v source /boot/grub/splash.xpm.gz
  • Login as root
    • sudo -i
  • Use a text editor gedit or vi
    • gedit /boot/grub/menu.lst ( I prefer vim wirte now)
  • Now you will find something known as #pretty colors
  • Under that splashimage=(hdX,Y)/boot/grub/splash.xpm.gz where X is your hard disk no¬† and Y refers to the parition in my case it is(hd0,6)
  • Save it and exit

You are done… Cheers