I'm trying to get dual boot to work on my laptop in seperate hard drives. I've done this in the past successfully in my old laptop with only one hard drive. Since I have two, let's call them SSD1 and SSD2.
I have Windows 10 installed on SSD1. Recently bought SSD2 and installed Debian 8. During installation, windows was detected in SSD1 and added to grub. I changed the boot priority in the BIOS to boot SSD2 first, since grub is located there and it should manage booting to Linux or Windows.
Debian is working fine. However, if I choose windows in the boot screen, the following message appears:
BOOTMGR image is corrupt. The system cannot boot.
Now, here's the funny thing: if I change the BIOS boot priority to SSD1 first, I can boot into windows just fine. MBR's were not even pointing wrong. As a matter of fact, I'm posting this Superuser question in windows right now.
How can I get windows to load from grub? Can someone tell me why this does not work? Separate hard drives maybe?
Anyway, I'd be happy to select OS/Drive on BIOS, but it simply takes too much time as I have to actually dig in the BIOS menu every time I want to change OS.
Any help appreciated!
EDIT1: I'm using MBR on both disks (not GTP) and BIOS (UEFI disabled).
UPDATE1: Following the suggestions in both answers, I first repaired grub with the boot-repair CD. While this did something (it added a second windows entry to grub), it was not necessarily good as neither entry 1 or 2 can get to windows (
BOOTMGR image is corrupt. The system cannot boot).
Afterwards windows could not load, so I did repair the MBR with a Windows 10 recovery CD. Automatic repair didn't do it, so I had to input the following commands in the command line:
`bootrec /fixboot` `bootrec /fixmbr`
After this, everything came back to the original state in this thread: I can boot into Debian or Windows but only if I choose the corresponding hard drive in the BIOS BBS boot priority.
Still not solved. Any other ideas?