I’m guessing this happened after migrating to a new hard drive.
If you don’t have the windows 10 install cd:
- Download the Windows 10 installation files.
- Create a Windows 10 bootable media.
- Boot your computer with the bootable media.
- Click the Repair your computer
- Click Troubleshoot. Then click Advanced Options. Then click Command Prompt
- Type the following commands to fix the mbr:
- Bootrec /fixMbr (This will attempt to fix the master boot record)
- Bootrec /fixBoot
- Bootrec /ScanOS (This will scan to see if there’s a windows OS on any of the partitions)
- Bootrec /RebuildBcd (Windows boot configuration data (BCD) Rebuild) (This will let you select the OS partition )
Some more info:
/fixmbr replaces the information and small executable that reads the partition table to find where the OS may be located. So this exists on any drive that has been formatted and effectively exists to read the next little bit on the hard drive that tells where the/an OS is supposed to be located. In essence, this is not necessarily a Windows-specific item.
/fixboot replaces the next part – the entry in the partition table that points to where the actual loadable executable is located for the OS. So this is fixing the next link in the chain of the boot process. This command does create a windows-specific result in that it reminds the hard drive where to find Windows in particular.