Friday, May 11, 2018

Unable to boot into windows after installing Ubuntu, two hard drives


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.



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.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...