I'm installing windows along with Ubuntu 13. At some point I have to say:
sudo apt-get update && sudo apt-get install grub-pc
sudo grub-setup /dev/sda # NOTE THAT THERE IS NO DIGIT
sudo umount /boot
However, the second line says that sudo: grub-setup: command not found, although the previous one said grub-pc is already the newest version.
man grub-setup is working well.
sudo grub-install /dev/sda. The "no digit" part is OK, as you want to install grub in the drive's MBR, not in a specific partition. – roadmr Oct 04 '13 at 20:48grub-install, I edited that answer – kiri Oct 04 '13 at 21:16