I deleted some kind of boot sector (but not my data)

thinkswithportals

Reputable
Mar 12, 2014
2
0
4,510
Recently, I rather thoroughly demolished my Ubuntu installation, and so I decided to uninstall it. I went to the Windows Disk Management and found four partitions. One was labeled "System Reserved," one was the "C" drive, and two were blank and said they were made by "other operating systems." I assumed that these were the Ubuntu partitions and deleted them and expanded the "C" partition into them. This morning, I booted up my computer to find a message saying...
error: No such partition
entering rescue mode
grub rescue>_

I assume that my C drive is still there and working, so I just need to make my computer boot to it again.
I cannot restore the HDD with the Windows recovery disk. Do you have any suggestions?