How to reinstall grub?

it should be /dev/hda instead of /dev/hda1, so that the bootloader will
be installed in your master boot record.

When you get dropped to a shell, chroot first before running grub-install:

chroot /mnt/sysimage
grub-install /dev/hda
exit
exit