[SOLVED] NVMe Drive randomly disappears from BIOS, blue screens on startup and rarely in use

yutuyt

Prominent
Jul 12, 2021
23
1
515
As the title says my NVMe drive doesn't show up in BIOS sometimes. It usually happens after I set my PC to sleep or after I shut it down. I'll boot, and it'll just bring me to the setup screen. I have no idea what could be causing it, I have to reboot the PC either a few or many times before it finally boots to Windows - and then sometimes it'll blue screen immediately on startup. I have been just leaving my PC overnight so I don't have to deal with the fiddling with it, and it has worked for the most part. Rarely I will get a WHEA bsod while I'm using the PC, but this has been a nondaily occurrence. It seems to me that the problem is definitely either my motherboard or my drive itself. Is there a way to discern which it is? Thanks!
My drive in question is the Samsung EVO 970 1TB
My motherboard is the Gigabyte B360M DS3H, and I have the latest BIOS.
The bluescreens have not produced any crash dumps.