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

Possible Duplicate:
How can I repair grub? (How to get Ubuntu back after installing Windows?)

I had just finished my setup for dual boot, everything went fine but I lost my ubuntu:

  • zero fill + create 2 Windows partitions (FINE)

  • Install Windows and configure C:/ for The system and D:/ For documents (FINE)

  • Create 2 partitions for Ubuntu, one for the "/" and other for SWAP (FINE)

  • Reinstall windows on the C: test, if I ever need to do that, FAILED, now I just have Windows on the boot, I lost that option to launch either windows or ubuntu.

How do I fix that?

EDIT: Just googled a bit and some people say it's a grub problem

Please help me =/

share|improve this question

marked as duplicate by Eliah Kagan, Mitch, jokerdino, RobotHumans, Jorge Castro Sep 1 '12 at 20:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I'm confused did you have Ubuntu installed first then Installed Windows or Windows first then Ubuntu? – TrailRider Aug 31 '12 at 23:39
Yeah, fisrt installed Windows, then Ubuntu, then re-installed WIndows Just to make sure if I ever needed to do that I`d be ok, but now Windows loads directly, no menu from ubuntu – Amanda Aug 31 '12 at 23:40
Please see possible duplicate questions:…,… – Peachy Sep 1 '12 at 13:41

By reinstalling Windows after Ubuntu you have overwritten the Grub file that loads Ubuntu.

The easiest way to fix your Grub file is with Boot Repair you can get more info here

The instructions are:

  1. Boot your LiveCD/LiveUSB of Ubuntu
  2. type in a terminal sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update and sudo apt-get install -y boot-repair && boot-repair
  3. On the Boot Repair window select Recommended Repair
  4. If repair is successful reboot your computer and you should then be able to use your Grub file

I have given the quick method for using boot repair to fix Grub, you may want to read the Ubuntu Wiki I linked to for more detailed info.

You had this problem because Windows is not respectful of any other boot files already on the computer and will overwrite the MBR with it's own files. Not a total disaster as you can fix it with the above instructions but an annoyance brought to you by Microsoft none the less.

share|improve this answer
Hell you just saved my life! - I love you <3 – Amanda Sep 1 '12 at 0:25

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