My PC shat itself when there was a power outtage while it was apparently updating. Windows was fucked and I had to reinstall from scratch. At first it couldn't even install because I had to reformat and repartition the main drive, but after doing that the install went well.
BUT now, sometimes(not always strangely) when booting or when powering down it gives me a bluescreen about Windows being damaged, it looks like it's trying to boot from the wrong drive, as in the UEFI the main boot drive doesn't show up, only the second drive(an M2 drive). When it gives me the error on startup I just enter the UEFI and exit then it starts normally. Any idea what's going on there?