Occasionally your Mac OS X computer has trouble formatting a disk the usual way (i.e., through the Disk Utility). This guide is meant to provide an alternative means of formatting a disk that is far more reliable. We'll be using Terminal to type in commands directly to the computer, giving you a level of power and control that is unparalleled.
Make sure the disk is connected to your computer (e.g., via USB) and powered on. Click on the magnifying glass in the upper right of your screen, and type "Disk Utility" (without quotes). Click on the first result.
In the column on the left side of Disk Utility, click on the disk you'd like to format in Terminal. Underneath the left column, you will see the disk's "Mount Point" listed. Using your mouse, highlight the information after "Mount Point:" and press "Command C" to copy the information.
Click on the magnifying glass in the upper-right corner of your screen. Type "Terminal" without quotes. Click on the first result.
Type "diskutil eraseDisk HFS+ newdisk" (without quotes). Press the Spacebar. Press "Command V" to paste in the mount point of the disk you're trying to format. Put double quotes (") around the mount point information you just pasted in. Your line should look something like this: diskutil eraseDisk HFS+ newdisk "/Volumes/disk1".
Press Enter on your keyboard. You will receive a message letting you know when the formatting has successfully completed. Congratulations, you have just formatted a disk using Terminal!
Tips & Warnings
- Formatting removes all the data from a disk. Double-check that all important information has been backed up, and make sure you don't format the wrong disk!
- Photo Credit Justin Sullivan/Getty Images News/Getty Images
How to Format a FAT32 Drive With a Mac Disk
The FAT32 hard drive format is typically used for computers running the Windows operating system. However, Mac computers can read and write...
How to Change Volumes in Mac OS X Terminal
Apple has made a name for itself by making Mac computers with a user-friendly graphical interface that lets you click on items...