After you login to the system, open terminal and give the following command.
sudo apt-get install grub-pc
Next you will be shown a blue screen with a message. Give " YES " to that question.
Again another window will appear and you have to do is just press "ENTER" key. But don't do these things as machines, first you read them well and try to understand what they are trying to convey you.
Now you have to reboot the machine.
sudo reboot
In the next boot up process you will be given the an option to select your operating systems and addition to that there will be a line about "Grub 2". Select that and press "e". At the end of that same screen you can see what is "e" stands for.
Then from the next screen you have to select "root" and press "e" as you have done before.
Then you can see a line starting with
root [number and characters combination]
This number and character combination is not an arbitrary or come from heaven. You can see this details in /boot/grub/menu.lst file.
You have change the word "root" into "uuid". Just change that word only not any other character. Then press "ENTER".
From the next screen you have to select the particular "uuid ..." which you have edited and press "b". As I mentioned earlier the meaning of these argument are described at the bottom of the window.
At last you have to do is give the following command in your terminal.
sudo upgrade-from-grub-legacy
That's it.
You may think what is the purpose of upgrading this grub. I just want to customize my grub such as adding an background image like things. I will come up how you can do that in my future post.
Thank you. Have Fun.