How do I fix my MBR?

Solution 1:

  • Windows 7 (winPE) environment: After selecting repair cmd prompt type BootRec.exe /fixmbr

Edit1 after the comment: When I typed that command in the CMD it said it was completed successfully but when I try to boot from my HD it still says "Missing Operating System"

What happens if you replace /fixmbr with /FixBoot. This writes a boot sector onto the system partition to start Windows.

Alternatively try /ScanOs and /RebuildBcd.

NB: this also means your problem is not with the boot sector.