BSOD loop repairing disk errors

Aug 18, 2018
2
0
10
I just recently got a new pc and after an accidental unplug from the wall i booted up to a blue screen that gets to 100% then tells me restart, however when i restart it says “repairing disk errors” for about 1-2 minutes and takes me back to the blue screen to repeat the process. I never get booted into recovery mode. Ive tried booting from an external windows 10 disc to get into recovery mode but auto repair doesnt work and it tells me i have no restore points. Im lost as what to do or even the source of the problem. The bsod gives me the code: 0xc000021a. Im not sure if this is a hardware or a software issue