Repair MBR (Windows 10) from OS X I've messed up my system yesterday. On my iMac I have installed OS X and Windows 10 using Boot Camp Assistant. The Windows MBR is damaged and I can't start it anymore. I get a black screen with the error message:


  No operation system found


Luckily I can still start up OS X. I'm looking for a way to repair the MBR in the Windows partition. When I start Disk Utility in OS X and click "Check" on the Windows partition, it prints the following error:


  Invalid BS_jmpBoot in boot block: 000000


I've already tried to repair it with fdisk, but also when I create a HFS+ MBR it gives me this error. I've tried to figure it out for multiple hours now and nothing seems to work. 
I do not want to wipe the whole partition because then my whole data would be lost.
The command fdisk can be used to copy the boot code to a destination MBR from some source file or MBR. This source is not supplied by OS X.

One way to write boot code the the MBR would be to follow the step given below.


Insert DVD or flash drive you used to install Windows 10.
Restart the computer and hold down the alt/option key.
Select the DVD or external drive icon labeled Windows.
Open a Command Prompt window by clicking on the following sequence.

Next
Repair your computer
Troubleshoot
Advanced options
Command Prompt
Enter the following command. I assume C: is your Windows 10
partition.

bootsect  /nt60  c:  /mbr