I was running two separate partitions of Linux (Ubuntu and Linux Mint) and Windows XP when I deleted my Ubuntu partition through Easus partition manager on XP due to simple stupidity. This erased my Grub bootloader, but I managed to install Grub Legacy from my Linux Mint Live CD. However, I cannot access my XP partition, and when I try to update GRUB boot-loader through Linux Mint, I receive an error message. I cannot perform a clean install, so I need to know how can I fix my GRUB Boot-loader through Linux Mint, so that it can recognize my Windows XP partition.
I'd recommend you to use "boot-repair" which is a graphical program that lets you repair most grub-related issues such as yours.
Check out this guide on how to install it and use it to fix your bootloader. Although this guide is for ubuntu, Mint is based and completely compatible with ubuntu, so you are safe to follow that guide.
make sure to select your drive and your mint partition as your drive/boot partition
Boot from a Ubuntu live CD/DVD/USB or whatever, open a command line, and run the command
sudo grub-install /dev/sda
(if you don't want GRUB on your primary hard drive, change sda to whichever hard drive you want it installed on).
In your case, it should be sda
Try Updating your grub configuration
this will add your windows to grub menu
First I tried with
sudo os-prober and
sudo update-grub and it didn't recognize my windows partition.
Finally I solved this problem following steps of Boot-Repair
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
Push "Recommended repair" And put in a terminal some commands as it suggested.
I think my Grub doesn't recognize windows due to a bad shutdown, and it solved the problem.
I hope this help you.