I have a 2012 MacBook Pro here, I put in an SSD and sometimes it detects my SSD and sometimes it doesn’t. I have to turn it off and turn it back on multiple times for it to finally boot into Mac OS. Also when I leave it sleeping for a while, when I turn it back on and log in with my password it freezes and the beachball appears. I have to turn it off and on again and it says a kernel panic happened. Another thing is that the battery drains overnight when I leave it sleeping. I have attached an etre check report: MacBook Pro - Pastebin.com
Hi there, you can find the troubles hiding on your Mac via the Major Issues section given by the EtreCheck report, so you need to troubleshoot them real quick.
- Back up your Mac with Time Machine to an external hard drive or the internal hard drive ids it has enough space.
- Enable System Integrity Protection.
-
- Boot your Mac or M1/M2 Mac in macOS Recovery Mode.
-
- Open Utilities > Terminal.
-
- Run the command below:
csrutil enable
- Run the command below:
-
- Quit Terminal and reboot your Mac.
- Fix the Kernel panics by reading this post: Kernel Panic on Mac: Fix Mac Restarted Unexpectedly
- Enable Apple Security by visiting this page: How to Access, Unlock, Change Security and Privacy on Mac?
With all these major issues being resolved, you can check if your Mac mounts the SSD seamlessly, if not, go to fix SSD not mounting on Mac and recover data.