1

I installed Ubuntu 12.10 64 bit on my hard drive, then decided to install Windows 7 alongside on a 25 gb partition. I shrank my Ubuntu install by about 25 gb with a GParted Live USB. Ubuntu booted correctly after the shrink. I shut down and installed Windows 7 on the 25 gb partition. Now Windows 7 boots, and Ubuntu doesn't. Did I overwrite my MBR? If so, how do I fix it?

16trohrt
  • 324
  • 3
  • 17
  • 1
    Try https://help.ubuntu.com/community/Boot-Repair – Meer Borg Apr 26 '13 at 02:38
  • 2
    Possible duplicate of [How can I repair grub? (How to get Ubuntu back after installing Windows?)](http://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows) – David Foerster Apr 24 '16 at 14:54

1 Answers1

3

Use EasyBCD to edit the Microsoft boot manager, too add ubuntu on to it. Then boot up Ubuntu and install Boot-Repair and reinstall grub and that should take care of it and set the default boot manager back to grub.

Boot-Rair

  • sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get
  • update sudo apt-get install -y boot-repair && (sudo boot-repair &)

From "https://help.ubuntu.com/community/Boot-Repair"

Just post a comment if you just need me to go into more detail on this.

MathCubes
  • 5,584
  • 10
  • 42
  • 64