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 download an iso file and installed Ubuntu 12.04 from a USB , i had windows -7 installed already on C drive , i installed ubuntu on E drive (sda5) , after the installation completed , it asked to restart , then i restarted , but the machine automatically loads windows-7 , ubuntu doesn't show up , help me out please !

Okk , my machine doesn't support CD's , so can i do this boot repair without any Live CD !

share|improve this question

marked as duplicate by Anwar Shah, Octavian Damiean, Mitch, Tom Brossman, hexafraction Sep 28 '12 at 19:21

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.

Windows boot manager will never show Ubuntu – Anwar Shah Sep 28 '12 at 14:36
@Anwar The answer on that one is complicated though... :S – SirCharlo Sep 28 '12 at 16:02

Try with Boot Repair!

1 - Live CD

First, you'll need to boot from a Ubuntu Live CD.

2 - Install the Grub bootloader

To install the Grub bootloader, follow these steps.

Open Terminal from the Live CD, and run the following commands:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

After a few seconds, Boot Repair's main window will open.

Click on Recommended repair.

You're done!

Reboot to test everything out.

If everything went well, you should be up and running now.

Once Ubuntu is loaded, you may open Terminal and issue the following command to automatically detect Windows and add it to Grub's menu, if it isn't there already.

sudo update-grub


Bootloader: a piece of code that runs before any operating system is running. A bootloader is used to boot other operating systems. Each operating system usually has its own bootloader.

GRUB (Grand Unified Bootloader): a bootloader package developed to support multiple operating systems and allow the user to select among them during boot-up. It is Ubuntu's default bootloader.

Command, command line: the traditional Unix environment , where you type commands to tell the computer what to do.

Terminal: an application that allows you to access the command line. Open it by hitting its keyboard shortcut, Ctrl Alt T.

share|improve this answer

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