Unable to Boot into Windows After Installing Ubuntu – Dual Boot Fix

bootdual-bootpartitioning

I just installed Ubuntu onto a second hard drive of mine. I also chose it as the location for the bootloader. Now when I turn on the computer, it goes straight to Ubuntu, no GRUB no nothing, and I had expected to see GRUB. I have windows installed on a separate drive. I think choosing the second hard drive as the bootloader location is what caused my problem, but it is too late to fix that I believe.

I'm thinking the easiest way to get windows to boot back up is to just reformat the hard drive with Ubuntu on it, but this is just a guess. My logic is that all the things I added were put onto that hard drive, so if I get rid of all the things again, I'm alright. However, I have my doubts as well so any advice is welcome. I have no qualms of wiping the drive in terms of losing data, nothing is on it.

Best Answer

You should use boot-repair

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

Please make sure that your BIOS points to the disk(second drive) where grub is being installed. This way grub gets control from BIOS to load the O/S and works accordingly.

grub2 is by default installed in recent Ubuntu Linux versions.