This question already has an answer here:
So I think I've possibly done something pretty dumb. Basically I was running out of space on my ubuntu partition and I knew i had a 40GB partition at the end of the disk which was called OS2.
I'm 99% sure this was one I created years ago when I first had the idea of dualbooting my computer (long before I actually got around to doing it) and I double checked on the drive, there was nothing on it.
So I installed GParted live USB, ran it, formatted the NTFS OS2 partition into ext2 format and rebooted computer.
Now I get the following error from grub:
error: file '/boot/grub/i386-pc/normal.mod' not found. grub rescue>
Obviously the "grub rescue" bit is a command prompt, but other than that, there's nothing I can do with the computer.
What can I do to get my computer back?