Here is what needs to be done:
- Boot from Windows 7 instllation DVD or Recovery CD. (don't forget to change boot order in the BIOS if needed)
- Choose your default "Language", "Time", and "Keyboard Input", click Next
- Click on "Repair Your Computer" and choose "Command Prompt"
- Type bootsect /nt60 C: /mbr and press Enter