tim_dowd wrote:
Tried recovery mode started disk utility plugged in and BOOM crashed again. left it plugged in booted in recovery mode again same deal. it gets past the Apple logo but as soon as the progress bar shows it crashes within seconds
The easiest option would be to connect the drive to a Windows or Linux computer so you can erase it as it is unlikely those systems will have a problem since they don't normally understand the Apple APFS file system. Plus those operating systems tend to be better at working with unusual issues.
If you don't have access to a Windows (or Linux) system, then you can try booting into Single User Mode by using Command + S (Intel Mac only). Make sure to disconnect all other external devices from the Mac (keyboard & mouse are Ok to keep). Once booted into Single User Mode you will have a black screen with lots of text. You should have a command prompt of "#" showing. If you don't see this at the bottom of the screen, then press the "Return" key which should make the command prompt appear on a line with "#".
Once you have this, then connect the external drive. If the system doesn't crash, then enter the following command to get the drive identifier for the external drive:
diskutil list external physical
It should display one drive (will also show that drives partitions & containers). The information on the first line is what we need as it will show the drive identifier in the form of "/dev/diskX". The "X" will be a number.....you may see "/dev/disk2". I'm just using "diskX" here because it is just an example/template...use the actual identifier listed from the output of the earlier command.
The next step is to unmount all volumes from that drive (make sure to use the identifier for your drive in place of "diskX" in my examples here):
diskutil unmountDisk diskX
If no errors, then you can write zeroes to the beginning the drive to destroy the partition table so the drive will appear blank:
dd if=/dev/zero of=/dev/diskX bs=100m count=10
Once completed, the external drive identified as "diskX" will appear blank to macOS. Just type restart the computer using the following command:
reboot
Once booted into macOS you should be able to use Disk Utility to erase the external drive. Assuming the partition table or file system was the reason for the crashes when connecting the external drive. If you still get the crashes, then you have some sort of hardware issue.
I'm assuming only the one external drive is connected to your Mac and no other external devices are connected except for a keyboard & mouse since this limits & minimizes the chance of destroying the data on the wrong drive or device (some external devices may appear as a drive).
As you can see using a Windows or Linux computer will be much easier, but the Single User command line will work if the problem is not due to a hardware issue. Just make sure to use the correct drive identifier for your external drive. Keep in mind the drive identifiers may change every time you connect a drive or reboot the computer. So always check & confirm you have the correct drive identifier each time.