AndyPac wrote:
My Macbook Pro keeps shutting down and restarting with only two seconds between each restart. The apple logo comes on, the line underneath is there for a second, then it restarts. I can't get to any of the startup screens.
Try a Safeboot— https://support.apple.com/en-us/HT201262
Takes noticeable longer to get to the login screen, does a 5 minute disk repair before it fully boots up, and certain system caches get cleared and rebuilt, including dynamic loader cache, etc.
Login and test. Reboot as normal and test. Caches get rebuilt automatically.
In Safe mode third party system modifications and system accelerations are disabled, it removes malware, etc hampering smooth operation, however a reboot will put it back to normal mode.
This test will tell you if third party interference; extensions etc are not loaded in safe boot mode.
Kernel Panics are predominately caused by hardware faults or faulty third-party kernel extensions.
Learn what to do if your computer restarts or shuts down unexpectedly, or you get a message that your computer restarted or shut down because of a problem.
If your Mac spontaneously restarts or displays a ... - Apple Support
https://support.apple.com/en-us/HT200553
Run the user Diagnostic...not as definitive as Apple's own AST2 (Apple Service Toolkit) back bench diagnostic, but may kick out an error code.
Use Apple Diagnostics to test your Mac
https://support.apple.com/en-us/HT202731