Mount the linux partition, chroot to it, run grub-update.
Or:
fdisk -llist of physical devices (X) and partitions (Y) (orblkid)mount /dev/sdXY /mntumount /mnt/bootandmount /dev/sdXY /mnt/bootif you have a separate boot partitiongrub-install --boot-directory=/mnt/boot /dev/sdX
(Given you have access to a busybox/linux shell)