A. Try running this command in Command Prompt. Chkdsk /f /r to check your disk for any issues.
Ensure that the SATA cables or the HDD/SSD are properly connected.
Remove any other external storage device on your computer to check if they are the one causing it.
B. Uninstall any third-party antivirus or Malware cleaner. Use their uninstall tool to fully clean the software.
Then if a minidump file is created please share the latest.