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

Changing computer name in UBUNTU 9.04

Well with the new ION proxy authentication I was forced to change the my laptop’s name. I use windows 7 and UBUNTU 9.04 which the ION people obviously could not change. So I decided to change its name myself for the first time.

1. Open Terminal and then type
2. gksudo gedit /etc/hostname
3. gedit will open your computer name
4. change it and enter the regular proxy order(for MITians)
5. Your net will work.
6. Be thankful you wont need to restart your computer in linux as in case of windows