I had dual booted my laptop with windows and ubuntu 14.04 and it was running fine only until my windows was infected by virus and so I had to refresh it. After refreshing when I restarted my laptop my grub failed to launch at startup. The laptop started booting windows straight. I tried repairing grub using live ubuntu and boot-repair, but nothing helped. This is the link to my last attempt to boot repair. http://paste.ubuntu.com/10325874/ However I am able to boot ubuntu manually by pressing F9 at startup and then choosing the appropriate option. Can anyone tell how to get grub back to load up when laptop starts.
As you are describing the problem, it seems to me, that the grub is installed to another drive (partition) than the current boot drive. You just need to change the boot partition using GRUB to the appropriate partition, so you will not need to press F9.
For example in
gparted, you can set the boot flag on the graphical interface.