This tutorial will illustrate how to restore grub old settings just in case that you have messed up your linux box trying to install another OS as a dual-os.
Steps:
- Open “
Terminal
“ - type “
sudo grub
“ - type “
find /boot/grub/stage1
“ - a list of hard drives will appear, now pick the one that is going to provide the grub files. In my case i am going to pick “
hd0
” because that is my hard drive. in this tutorial please replace the 0 for the number of your hard drive given. - type “
root (hd0,0)
“ - type “
setup (hd0)
“ - lastly “
quit
“
this should take care of grub to be store in the mbr.