You should be able to rebuild the grub config file with:sudo update-grubwhich will scan all of your partitions for bootable O/S's, and rewrite grub.cfg.(Assuming that your repartitioning hasn't made your system unbootable.)