Carmela writes in with a question after wiping a 2010 MacBook Pro and reinstalling macOS:
I wanted to restore it to factory settings, but while erasing the disk I erased not only “Macintosh HD” but the “Hitachi…” What have I done? I reinstalled the OS fine. Did I damage my system?
This highlights how well Apple typically hides some of the fussy details of an operating system from users, usually to the good: most of the time, we don’t need to know any low-level details in order to use a Mac. iOS obviously goes a few steps further, mostly preventing even advanced users from seeing much of what’s under the hood.
What Carmela is seeing is the difference between a drive and a partition. While this may be old hat for veteran users, it’s just jargon for those who have never had to format a drive before.
A drive is a physical thing, whether it’s a hard disk drive (HDD) or solid-state drive (SSD). It’s a physical medium that has a disk controller that mediates access to data stored on the disk, including carrying out and tracking the details of what bits are written where, and how to retrieve them later.
The “Hitachi” part Carmela encountered is the manufacturer’s name for the physical drive as assigned at the factory. In my 2014 Mac mini, I have a drive labeled “APPLE HDD HTS541010A9E662 Media.” When I search for the product number, I come up with “Hitachi 1TB SATA 2.5 Hard Drive,” the manufacturer’s name for the drive. Depending on the vintage of Mac you have and other factors, the drive’s name might start with Apple or might start with the hard-drive maker’s company name. (Only a handful of firms make hard drives.)
However, the physical disk is useless without being formatted or prepared to store the data in a particular way that an operating system can read. Apple supports multiple styles of formatting, though its preferred one for Macs is called GUID Partition Table. (GUID refers to a globally unique identifying code that’s part of the formatting standard.)
When you format a disk, you partition it into one or more logical volumes. Each volume can have a separate formatting scheme. The term logical here means that it’s defined in software, and is independent of the drive hardware. A very low-level part of the OS knows how to talk to drive hardware; a higher-level part knows how to read and write using various formats, and can access the partition to read and write data. The higher-level part doesn’t need to know anything about hardware to access the logical partition. (This is called abstraction, and it’s found across every part of digital technology.)
Each partition has a name distinct from the hard drive’s manufacturing name that typically appears as the volume name when mounted in the Finder. Macintosh HD is the name Apple uses for the startup volume if you don’t change it.
Disk utility lets you erase a partition or a drive:
- When you erase a drive, it also deletes all the partitions. You then create at least one partition to proceed. This is what Carmela did.
- When you erase a partition, it keeps the formatting intact but removes all the data stored in the physical structure associated with that partition.
It’s not bad to erase the drive, especially if you’re going back to a default, fresh installation because it eliminates the possibility that anything could be wrong with the partition.
(To get even deeper, when you erase a partition or drive, macOS and most OSes only delete a little information that points to where files are on the disk; you have to use a secure erase option to write over the physical elements that store bits. And that doesn’t really work with an SSD. See my column on secure erasure and SSDs.)
Without a partition, an OS can’t do anything with a drive at all, because it has no place to read or write data. Nearly all Macs since Lion was released have just two partitions: a large one that is used by OS X or macOS, and a small one that holds the Recovery disk, a mini-system that Apple created to repair, examine, or have a secure login for your main partition’s OS without needing to create some kind of bootable external disk.
More advanced users might split a very large drive into multiple parts to run different systems on each or to have a Boot Camp partition to run Windows under macOS.
As a side note, if you erase the disk and reinstall OS X or macOS, it should automatically create a partition for Recovery and install it. If that fails, you may have to reinstall macOS again, or you can turn to Carbon Copy Cloner, which has a Recovery partition reinstallation option.
If you have an Apple Fusion drive, found in some models of Mac mini and iMac, the OS combines a slower HDD and a fast SSD into one partition that spans both pieces of hardware. (More sophisticated RAID arrays can do this as well for performance, reliability, or both.) With a Fusion drive, read Apple’s instructions carefully for repair and erasure so you don’t wind up reformatting in such a way that you lose the speed advantage Fusion provides.
Ask Mac 911
We’ve compiled a list of the most commonly asked questions we get, and the answers to them: read our super FAQ to see if you’re covered. If not, we’re always looking for new problems to solve! Email yours to email@example.com including screen captures as appropriate. Mac 911 cannot reply to email with troubleshooting advice nor can we publish answers to every question.