1

I originally only had Ubuntu 14.04.4 on my notebook, but as I sometimes also need windows I wanted to make a dualboot. So I booted Ubuntu from my USB stick, repartitioned my HDD and installed Windows 7 on the second partition.

The problem is that now it automatically boots into windows without giving me the option to choose between Linux and windows.

The notebook is a msi GT628.

I already looked at this post and this post but as I am a helpless greenhorn when it comes to linux (or computers in general) they went way over my head.

Thanks!

AlphaOmega
  • 1,423

2 Answers2

2
  1. Try EasyBCD (a Windows software) http://neosmart.net/EasyBCD/

or,

  1. Rescue Grub2 http://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/

Hope it will help, thanks

  • Thanks, I tried the second option. It worked, but now I can only boot into ubuntu. How can I make it such that I can choose which OS I want to boot? – AlphaOmega Apr 04 '16 at 19:31
  • You should edit the /etc/default/grub and add the following line:

    GRUB_DISABLE_OS_PROBER=false

    save it and perform

    sudo update-grub

    It will bring back both the OS in your GRUB menu list.

    – Arijit Chatterjee Apr 05 '16 at 05:57
0

Windows installation overwrites the boot record instead of updating it. So older OS options are no longer available.

One option is to first install Windows, and then install Ubuntu. During the last phase of the ubuntu install, the grub utility will typically detect the Windows OS on the other partition and add it to the boot menu.

THe other option is to fix the MBR after installing windows.

Thanks to the comments below, I am ammending my answer.

Perennial
  • 101