Boot liveCD. Find the Linux partition under /dev and then find the bootable partition under fdisk. Lets say its /dev/sda1
# mount /dev/sda1 /mnt
# mount–bind /proc /mnt/proc
# mount –bind /dev/ /mnt/dev
# chroot /mnt
# grub-install /dev/sda
Try this before you start crying.