FormatDrive.txt (2.7 KB)
OK, I found it… Make sure to unplug every other external device as it will format those too. Only attach the device that you wish to format. It will format everything on the device and create a single partition. Hopefully you back up everything before you run the script.
To run it, open Terminal app
type “sh " drag and drop the file in to the terminal window then press Enter key.
Just sit and wait for
"Mounting disk - - Finished erase on disk1”
Hope it help. It work for me before. I haven’t test it since OSX 10.12
Let me know if you encounter any error.