0

I bought an SSD for my laptop and I moved the old one on the optical drive bay. I installed windows on my SSD and then installed ubuntu on the old one (sdb). I installed Ubuntu using manual partitioning and installed grub on the windows hard drive (sda) and now I'm not able to boot windows anymore nor to find it using grub-update.

os-prober gives me only ubuntu:

sudo os-prober /dev/sdb1:Ubuntu 14.04.3 LTS (14.04):Ubuntu:linux

Windows is on sda.

How to fix this?

  • 1
  • @DavidFoerster thank for your time but I have the opposite problem and a two hard drives case. – Dario Feb 4 '16 at 12:40
  • It doesn't matter. The solution is the same: to repair the boot loader and its configuration. If it doesn't help, please include a link to the Boot-Repair log in your question as it contains most of the necessary problems to debug your problem. – David Foerster Feb 4 '16 at 12:45
0

I solved the problem by reinstalling windows 10 MBR on the the first hard drive using a usb drive. The I installed grub on the second hard drive (where Ubuntu is) and I put it as first in the boot order. Grub is now able to recognize the window partition and everything works fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.