Recovering Grub

There is nothing worse than starting up your computer and the boot operation will not complete. You can re-install the complete operating system, but that involves a lot of time and data lose, when all that is really needed is to re-install grub, presuming grub is your boot loader. Here is a recipe for re-installing just grub: