This question already has an answer here:
I switched over to Ubuntu about a month ago after Windows 7 was corrupted and wouldn't boot anymore. I recently decided to restore Windows 7 so I could play a game on it. Unfortunately I had no restore points so I had to completely reformat the whole thing. Now when I turn on my computer I no longer get the option to boot into Ubuntu or Windows 7, it just boots straight to Windows. When I check the C drive I still have the 20 gigs I set aside for Ubuntu partitioned off. I'm thinking that Windows 7 reformatted the entire hard drive rather than just it's own partition, but I'm asking here to confirm my fears and make sure it isn't a fixable problem. I'd really like to avoid having to reinstall Ubuntu if at all possible.