Today I replaced my motherboard and processor with an Asrock b450 pro4 and a Ryzen 5 2600. It posts, I can load into the bios, and everything shows up with the correct specs, but the system seems unable to boot to anything. At first I tried just booting to my boot drive that I've been using in that system for years, but I got errors saying that files in system32 are missing. After that, I tried booting to my installation media, but I got the same error saying that files in system32 were missing or corrupted. I then reinstalled the media creation tool on the flash drive that I've been trying to boot to, and I got what seems to be a graphical error, pic related. Something that might be of note, The errors seem to be inconsistent, sometimes it will be for some file in sys32, another time it'll tell me something about the kernel being corrupted, and another time it'll tell me that a digital certificate couldn't verified.
my rig before:
i5 6500
MSi z170a sli plus (might not be the plus, cause I bought it a long time ago, but I know it's in that family of motherboard)
GTX 1070
16GB of DDR4 PNY anarchy ram
My rig now is the same, with the exception of the new processor and motherboard