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.