I have Dell inspiron mini 1012 with windows 7, It was working fine and now I need to learn ubuntu so I tried ubuntu with bootable pendrive and it was working fine so I thought lets install it.
I installed it and it was working fine. But during installation I selected something else, now when I boot it gives no option of my previous windows 7 OS.
Solution 1-Reinstall Windows bootloader form Windows 7 DVD/USB and go to Repair
System Recovery will automatically start scanning to see if there’s an existing Windows install with something it can easily fix automatically.
If your only problem is the boot loader, often it will automatically detect the problem and offer to fix it. If so, simply click Repair and restart, and your computer should be booted back into Windows as normal within minutes.
Solution 2 If u can't find ur OS in System Recovery Option
Don't panic ,
just go through this site
http://support.microsoft.com/kb/927392
Solution 3:- With Diskpart
Boot with Windows 7 installation DVD, select repair and open a command prompt.
Type diskpart
Type select disk 0
Type list partition
then note the partition number where you installed windows 7.
Type select partition X (X is the partition number where Windows is installed)
type active
type exit
type bcdboot c:\windows (if C is your windows partition)