Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

I installed Ubuntu 12.04 LTS on a hard drive, and after that on a different partition on the same hard drive with windows7. In both cases, after Ubuntu finished installing, the computer reboots, and it boots automatic into window7, without any boot menu to select the OS. So, How can I make my bootloader to see both windows and Ubuntu?

share|improve this question
if you installed windows 'after' ubuntu, you need to restore grub. Windows doesn't honour non Windows OS. If u did it the other way, pressing and holding shift during boot should show up Grub, where you can select OS. – Mahesh Jun 21 '12 at 6:48
Thank you! I will try this when I go home from work! – Marius Amariei Jun 21 '12 at 10:48
up vote 3 down vote accepted

The GRUB Bootloader is missing. Follow these steps to reinstall GRUB.

  1. Make a new Ubuntu Live CD and Boot from it.
  2. Install boot-repair using these commands:

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

enter image description here

Click "Recommended repair". This will reinstall GRUB in the adequate disk(s). Then reboot.

share|improve this answer
It worked just perfect! mMany thanks! – Marius Amariei Jun 22 '12 at 6:42
Glad to help! BTW Boot-Repair can do more than just that. – Emerson Jun 24 '12 at 1:06

Did you use a USB to install Ubuntu? A common problem recently is that grub has been installed to the USB drive, and Ubuntu will not boot without booting the USB, so test that. If this is the case then have a look at our guide on re-installing grub.

Have a look at this page on our website for more details.

share|improve this answer
No, I used the geniune ubuntu disk... – Marius Amariei Jun 22 '12 at 6:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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