sudo -s
mount /dev/sda1 /mnt
mount -t proc proc /mnt/proc
mount -t sysfs sysfs /mnt/sys
mount -t devpts devpts /mnt/dev
chroot /mnt
grub-install /dev/sda
sudo update-grub
Yes, loads of ways, my favourite is this:
1. Install windows as normal.
2. Boot from your distro's live CD.
3. Open a terminal and use these commands:
Replace /dev/sda with your boot disk and /dev/sda1 with your linux partition.Code:sudo -s mount /dev/sda1 /mnt mount -t proc proc /mnt/proc mount -t sysfs sysfs /mnt/sys mount -t devpts devpts /mnt/dev chroot /mnt grub-install /dev/sda
sudo update-grub