- To remove GRUB, open a terminal and type the following command.
- Download GFX Grub from here.
Now unzip the files and move it to /boot/grub .. Since it comes under root file system you need to gain root privileged to do that .. Type the following in Terminal
sudo su root
Enter password and then type this nautilus this will open a new Nautilus Window. .Navigate to /boot/grub through root nautilus window.. Copy all the message.xyz (xyz can be anything)file to /boot/grub.
Now since you have added theme .. Lets do final settings to make this GFX Grub work.. Open terminal and type this
sudo gedit /boot/grub/menu.lst
Add this line at the top of the Menu.lst file
gfxmenu /boot/grub/message.xyz # the xyz should be replaced with the theme name that you are going to use
Since you have removed you older grub you need to restore GFX Grub so that you boot through OS without any problem.. Open Terminal and do these
You will get a output like (hd0,4) or other depending on you HDD partitions
Then type this
Where “x” represent the value of hdd sector in which you have installed grub.
The last thing you have to do is to install Grub MBR .
sudo fdisk -l
You will get an output like this
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×0dd6c6bd
Device Boot Start End Blocks Id System
/dev/sda1 * 1 3187 25599546 7 HPFS/NTFS
/dev/sda2 3188 8287 40965750 f W95 Ext’d (LBA)
/dev/sda3 8288 9607 10602900 83 Linux
/dev/sda4 9608 9729 979965 82 Linux swap / Solaris
/dev/sda5 3188 5737 20482843+ 7 HPFS/NTFS
/dev/sda6 5738 8287 20482843+ 7 HPFS/NTFS
Look for the bold Entry and finally install MBR in Filesystem
Where X represent the number of you Hard Disk sector in which you had installed Grub.
sudo grub-install /dev/sdaX
Note : Replace sda by hda or anything else, if it is in fdisk -l output. If the grub-install fails you can try adding “–recheck” option to the command.
That must do. If no error occured in any of the steps, Your gfx grub installation has gone well. If any error has occured, please re-install the grub from your repository and follow the final 3 steps (marked by bullets) completely to get working GRUB. and replace the backed up copy of the menu.lst file. I can in no way, help incase of error. Even my understanding of GRUB is minimal. Everything went well for me. So I have posted this here.