Since you replace your motherboard from an ASROCK* to an Intel (R) unit, it is necessary to perform a clean installation of the Operating system. This is requiring because the operation system loads the motherboard’s system configuration into its registry. Changing the hardware configuration will result in a boot error.
If both motherboards have the same chipset type you may want to try the following step on this link, but bear in mind it might don’t work. Desktop Boards — Troubleshooting operating system issue