Recover grub menu after installing windows

Follow the step to recover grub bootloader:
1. Boot with Ubuntu Live CD
2. Open gnome-terminal
Give the commands:
3. sudo grub
then it shows grub> like this
grub>find /boot/grub/stage1
it’ll give a output like this (hd0,7) 7 is here for example, itĺl be number of ur partition.
grub>root (hd0,7)
grub>setup (hd0)
grub>quit

install windows 7 from usb drive

http://kmwoley.com/blog/?p=345

Step 1: Format the Drive
The steps here are to use the command line to format the disk properly using the diskpart utility. [Be warned: this will erase everything on your drive. Be careful.]