Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have been using Ubuntu for a couple of years and now I need some version of Windows alongside it. So, I installed Windows 7 Ultimate Black Edition on the free partition I had. Now I cannot get my computer to boot in Ubuntu. I have looked at the BIOS and don't see a simple solution to this.

Does anybody know why I can't boot into Ubuntu and/or how to fix it so I can?

share|improve this question

migrated from stackoverflow.com May 10 '12 at 3:55

This question came from our site for professional and enthusiast programmers.

    
You say "no matter the options win7 is always selected". Does that mean you do get a boot loader choice screen? There are utilities that let you restore the boot loader. Does this one help? –  Mr Lister May 9 '12 at 9:38

2 Answers 2

up vote 1 down vote accepted

It's not so easy. Windows installer saved his own MBR on your HDD. so Windows is booting by default (instead of GRUB).

You have to :

  • Boot from cd/usb into any distribution of linux,
  • Mount your system partition,
  • Chroot into your filesystem and
  • run grub-install as root.

This should help.

share|improve this answer
    
Lol. Of course windows would do that... Thanks a lot. Was hoping to avoid booting off of a flash (don't think I have one around). Oh well. Will do it when I get home from work! –  Jay Elrod May 9 '12 at 17:47

You have to (and you can) reinstall grub.

I followed this :

http://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows

Please note that a question on http://askUbuntu.com would probably ensure a better support on this delicate problem (I'm sure you don't want to do dangerous things when playing with your MBR).

share|improve this answer

Your Answer

 
discard

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