Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by karel, chronitis, qbi, Warren Hill, Kevin Bowen Oct 25 '13 at 17:43

This question was marked as an exact duplicate of an existing question.

Ubuntu recommends installing Windows first since it will overwrite your boot sector:

A Windows OS should be installed first, because its bootloader is very particular and the installer tends to overwrite the entire hard drive, wiping out any data stored on it. If Windows isn't already installed, install it first.

So it sounds like you need to recovering GRUB after reinstalling Windows. Ubuntu provides the instructions at this location:

Reinstalling GRUB 2

I hope this will help you. Good luck.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.