mount /dev/sda1 /mnt/
mount -t proc none /mnt/proc
mount -t sysfs sysfs /sys
mount -o bind /dev /mnt/dev
chroot /mnt/ /bin/bash
/usr/sbin/grub-install --recheck --no-floppy /dev/sda
reboot