This question already has an answer here:
I have purchased a lenovo thinkpad laptop with dos os in it. I want to install windows 7 and ubuntu in it. I purchased windows 7 and installed to 1 drvie (100gb) and i have 1gb dos partition. I added 2 more partition while windows installation (one for data and other for ubuntu). While ubuntu installation it did not detect windows 7. It detects dos only. After ubuntu installation in boot menu there is no windows 7....
So i inserted windows cd --> recovery option --> cmd terminal --> bootrec /fixmbr bootrec /fixboot bootrec /rbuildbcd
I tried this now i am able to boot windows ... Now ubuntu is missing
Thanks in advance!!