I recently installed windows 7 to my computer. After installation my ubuntu partition was converted into unallocated space. used testdisk to recover it. After that i ran boot-repair recommended repair. On rebooting, grub didn't show the option of windows 7. Here below are screenshots of gparted.
Open a new terminal session ( Ctrl + Alt + T ) and type the following command :
sudo grub-mkconfig -o /boot/grub/grub.cfg
Reboot the system. Windows must have appeared in the grub menu now.