I initially had the following components on 5 partitions on my pc:
sda1 Windows Xp
sda5 Windows 7
sda6 Data
sda7 Data2
sda9 UbuntuDesktop
The ubuntu bootloader would show up at start and would give me the following options:
UbuntuDesktop
Windows 7 bootloader
The windows 7 bootloader would allow me to fire up either Windows 7 or Windows XP.
So, all was working fine.
Now, I no longer needed windows xp and I wanted to install UbuntuServer. So, i deleted the sda1 partition and remade it and installed UbuntuServer on it. When prompted to include UbuntuServer in the bootloader, i selected no (as it was telling me to select yes only if it had detected all my OSs, but it had detected only UbuntuDesktop and not Windows 7).
After finishing the installation, I restarted the PC.
The bootloader now showed the following:
Ubuntu
Windows 7 bootloader
(It wasn't showing anything named server)
(idk if the server option, named something else, was showing up)
Since I couldn't find the Server option, I loaded into UbuntuDesktop and tried to repair the grub using Boot Repair.
After restart, the bootloader shows the following:
Ubuntu
Ubuntu 16.04 (The UbuntuServer)
I have lost my Windows bootloader and cannot boot into Windows!!
Please help!!
Here is the file that is generated after I repaired using BootRepair:
PS: I even tried os-prober and the grub-update, but still windows was not detected.