Mac OS X Mountain Lion gives users several ways to access the Terminal and three common options for formatting a hard drive. You can launch Terminal within Mac OS X to format hard drives currently. Nov 30, 2010 Apple utilizes their diskutil application to create an MBR on a GPT formatted disk, thus allowing Windows to install and boot. The Boot Camp utility simply uses this utility “under the hood” to make this easy for the average user. Let’s take an average Intel-based Mac, running with a single hard disk formatted as a GPT disk (the default). Additionally, removable media will become eligible for safe manual removal; automatically-removable media will begin its physical (motorized) eject sequence. To use the disk as a non-startup disk with any Mac, or to create a multiplatform compatible startup disk. Diskutil listRAID and diskutil checkRAID are deprecated synonyms for. On a Mac running 10.12.5 or later, open the Terminal app, which is in the Utilities folder of your Applications folder. 4 Use the diskutil command to determine which internal disks are a part of the Apple File System Fusion Drive. DiskWarrior Is the highest rated repair and recovery program! Awarded 5 mice by Macworld magazine for an unprecedented 3rd time. Inducted into the iMore.com 2015 Hall of Fame for having 'saved countless Mac users from heartache.' Since 1998, DiskWarrior has won more awards than any other Mac disk utility.
May 13, 2013 You can mount and unmount drives, volumes, and disks from the command line of MacOS and Mac OS X. For many users, the easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive, or use one of the force eject methods. Along the same.
Related Articles
- 1 Run Norton AntiVirus From the Command Prompt
- 2 Rename Subfolders in Zip Files
- 3 Reformat a MacBook
- 4 Enable the Sudden Motion Sensor on a MacBook Pro
Mac OS X Mountain Lion gives users several ways to access the Terminal and three common options for formatting a hard drive. You can launch Terminal within Mac OS X to format hard drives currently not in use; you can also use Mac OS X Recovery to launch Terminal outside the operating system and format hard drives that can't be formatted while Mac OS X is active. Once you enter Terminal, you can choose to reformat a disk and keep the original settings, securely erase a disk to prevent data recovery or perform a standard format. All three options prepare your business computer for a new operating system installation by removing all of your company data.
Identify Hard Drive Disk Identifier
1.Click the 'Go' menu and select 'Go To Folder...' from the drop-down menu.
2.Type '/Applications/Utilities/Disk Utility/' and click 'Go.'
3.Double-click the highlighted 'Disk Utility' icon to open Disk Utility.
4.Select the hard disk you want to format and click the 'Info' button. Write down the name of the Disk Identifier.
Launching Terminal From Mac OS X
1.Click the 'Go' menu and select 'Go To Folder...' from the drop-down menu.
2.Type '/Applications/Utilities/Terminal/' and click 'Go.'
3.Double-click the highlighted 'Terminal' icon to open Terminal.
Launching Terminal From OS X Recovery
1.Shut down your computer by pressing and holding the 'Control-Command-Eject' keys simultaneously.
2.Press and hold 'Command-R' while the computer reboots until the Apple logo appears.
3.Select 'Utilities' and 'Terminal' to launch the command console and attempt to format troublesome hard drives that can't be formatted within Mac OS X.
Creating and Using a Terminal Format Command
1.Click 'Go,' select 'Go to Folder...' and type '/Applications/TextEdit' into the text field. Click 'Go' and double-click 'TextEdit' to open the TextEdit application.
2.Type 'diskutil eraseDisk JHFS+ diskname diskidentifier' into the TextEdit document.
3.Edit the 'diskutil eraseDisk JHFS+ diskname diskidentifier' code in TextEdit.
4.Change 'eraseDisk' to 'secureErase' if you want to securely erase the disk. Change 'JHFS+' to 'HFS+' if you want a volume that is not journaled. Change 'diskname' to the new name for the disk, or type '%noformat%' to leave the name blank. Replace 'diskidentifier' with the Disk Identifier name retrieved from Disk Utility. If you want to reformat, replace 'eraseDisk' with 'reformat' and delete the 'JHFS+' and 'diskname' parts of the command.
5.Highlight the code and press 'Command-C' to copy the edited code to the clipboard.
6.Click on the Terminal prompt and press 'Command-V' to paste the code. Press 'Enter.' Input your administrator credentials and confirm the action, if prompted.
Tip
- When entering a new name for the disk, it's best to use a single word and don't use special characters.
Warning
- Information in this article applies to Mac OS X Mountain Lion. It may vary slightly or significantly with other versions or products.
References (3)
About the Author
Avery Martin holds a Bachelor of Music in opera performance and a Bachelor of Arts in East Asian studies. As a professional writer, she has written for Education.com, Samsung and IBM. Martin contributed English translations for a collection of Japanese poems by Misuzu Kaneko. She has worked as an educator in Japan, and she runs a private voice studio out of her home. She writes about education, music and travel.
Photo Credits
- Medioimages/Photodisc/Photodisc/Getty Images
Choose Citation Style
Martin, Avery. 'How to Format an OS X Terminal Hard Disk.' Small Business - Chron.com, http://smallbusiness.chron.com/format-os-x-terminal-hard-disk-57815.html. Accessed 25 August 2019.
Martin, Avery. (n.d.). How to Format an OS X Terminal Hard Disk. Small Business - Chron.com. Retrieved from http://smallbusiness.chron.com/format-os-x-terminal-hard-disk-57815.html
Martin, Avery. 'How to Format an OS X Terminal Hard Disk' accessed August 25, 2019. http://smallbusiness.chron.com/format-os-x-terminal-hard-disk-57815.html
Mac Diskutil Commands
Note: Depending on which text editor you're pasting into, you might have to add the italics to the site name.