Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had Ubuntu 11.10 installed, I installed Windows 7 on another partition but now on booting I cant see dual boot options and Windows 7 is loaded.

How can I run Ubuntu now?

share|improve this question
    
did you try sudo update-grub? May be after that try posting the contents of your /boot/grub/grub.cfg file so that we can know what is going on. –  Sunil Mar 8 '12 at 15:23

3 Answers 3

up vote 2 down vote accepted

Your grub2 installation was removed from the MBR by the Windows installation.

Please follow the instructions in the Recovering Ubuntu After Installing Windows wiki page, the graphical method should restore your grub2 install that was over written by the Windows installation.

  • Insert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session. You can also use a LiveUSB if you have created one in the past.
  • Install and run Boot-Repair
  • After this, click "Recommended repair" and apply. If you are willing to use the advanced options, make sure you leave the "Reinstall GRUB" checkbox ticked. Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.

The recovery method should detect both your new Windows and the Ubuntu install.

share|improve this answer

Is seems you have to reinstall grub as it was wiped after installing Windows 7. If I'm correct you will be looking for reinstalling grub 2. There seems to be some options for restoring grub 2 given on the ubuntu community help site: https://help.ubuntu.com/community/Grub2#Reinstalling_GRUB2

share|improve this answer

Re install GRUB. If you have a Ubuntu Live CD and you know the partition where Ubuntu is installed, then this blog post will help you for sure :-)

Restore Ubuntu after installing Windows

share|improve this answer

Your Answer

 
discard

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.