2

I have Ubuntu already installed. I wanted to get windows 7 as well, I followed the instructions I was given, to partition my hard drive and to format it to a NTFS for Windows but now When I try to boot from HDD I only get Windows. I am seeing that I was (if done right) to get a GRUB menu at start you, so I may pick which one I would to start up. I would much thankful of your help, also I have no issue with having to flash my hard drive and start from scratch.

TheXed
  • 27,638
VAMP BOY
  • 23
  • 3

3 Answers3

2

The ideal thing would be to install Windows first then Ubuntu, allowing Grub to give you the option to choose where you want to boot. but not all is lost, you can still install Grub and it is fairly simple.

The first thing you are going to do is boot into your live Ubuntu environment (cd, flash drive).

Then you are going to install boot repair

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

Once you do this you will will click the first button "Recommended repair"

Once you do this you should be able to restart and remove your bootable image and Grub should be back and you should be able to boot into Windows or Ubuntu.

TheXed
  • 27,638
0

Be aware that, in general, Windows will always overwrite the MBR or GPT equivalent. Therefore, if at all possible, the recommended method of installing another OS is to install Windows first.

Regardless, boot-repair will fix the problem. You can also set up dual boot using the Windows boot manager.

From within Windows, go to Control Panel->System->Advanced System Settings (in the left hand column)->Advanced->Startup and Recovery->Settings. In the System Startup section, use the pulldown menu to choose the default operating system to boot. You can also choose the amount of time to display the OS choice list. Hit OK and then OK again (in the previous window) to save your setup. Then, when you reboot, Windows should provide you option of booting into Windows or Ubuntu.

This, of course, assumes that Windows recognizes the Ubuntu installation.

geo
  • 193
-1

Windows likes to overwrite the grub. You should always install Windows first and then Ubuntu. Just reinstall Ubuntu and you should be able to access both operating systems.

wil
  • 912