Could Not Modify Partition Map? Fixes That Work
If you see “Could not modify partition map” when using Disk Utility on a Mac, it usually means the partition scheme on the drive is incompatible with the change you’re trying to make, or the drive is still in use. The fix is to erase the drive (which destroys data) or use a different partition scheme; for many users, switching from GUID to Apple Partition Map (or vice versa) resolves the error.
What Causes This Error
The error appears most often in Disk Utility when you try to resize, add, or delete a partition on an external drive. The underlying cause is that the partition map type — the way the drive stores its partition table — does not support the operation you requested. For example, you cannot have more than four primary partitions on a Master Boot Record (MBR) drive, and you cannot boot a Mac from an Apple Partition Map (APM) drive on newer Intel or Apple Silicon Macs. Disk Utility is strict about these rules and will refuse the change rather than risk corrupting the drive.
Another common cause is that the drive is mounted and in use. macOS will not let you modify a partition map on a disk that has open files, is the startup disk, or is part of a Time Machine backup set. Even if the drive appears idle, a background process (like Spotlight indexing) can hold it open.
How Partition Maps Work on macOS
A partition map is the structure at the very beginning of a disk that tells the operating system where each partition starts and ends. macOS supports three main types:
- GUID Partition Map (GPT) – used by all Intel and Apple Silicon Macs for startup disks and most external drives. Supports up to 128 partitions.
- Apple Partition Map (APM) – older format used by PowerPC Macs and some legacy drives. Limited to 15 partitions.
- Master Boot Record (MBR) – the standard for Windows and many USB flash drives. Limited to four primary partitions.
When you erase a drive in Disk Utility, you choose one of these schemes. If you later try to change the partition layout in a way that violates the scheme’s limits, you get the error. For instance, adding a fifth partition to an MBR drive will always fail.
How to Fix It Without Losing Data
If you have important files on the drive, try these steps first. They do not erase anything.
- Unmount all volumes on the drive. In Disk Utility, select each volume and click the eject button. If any volume is the startup disk, you cannot unmount it.
- Turn off Spotlight indexing for that drive. Go to System Settings → Spotlight → Spotlight Privacy, and add the drive. This prevents background indexing from holding the disk.
- Check for Time Machine snapshots. If the drive is a Time Machine backup, open Time Machine settings and remove it from the backup list. Then unmount and remount.
- Try using Terminal. Open Terminal and run
diskutil listto see the drive identifier (likedisk2). Then rundiskutil unmountDisk /dev/disk2(replace with your identifier). After that, try the partition operation again in Disk Utility. - Repair the drive first. In Disk Utility, select the drive (not the volume) and click First Aid. A corrupt partition map can cause this error.
If none of these work, the partition map itself may be damaged or the drive is using a format that Disk Utility cannot modify. In that case, you will need to erase the drive and start over.
Erasing the Drive (Data Loss Warning)
Erasing the drive will delete all files on it. Back up anything you need before proceeding. To erase with the correct partition scheme:
- Open Disk Utility and select the drive (the top-level item, not the volume below it).
- Click Erase.
- Choose a name and format (APFS or Mac OS Extended).
- Choose a scheme: GUID Partition Map for most Mac uses, Apple Partition Map only for older PowerPC Macs, or Master Boot Record for drives that need Windows compatibility.
- Click Erase. After it finishes, the partition map is rebuilt and you can create partitions without the error.
If the drive is your startup disk, you cannot erase it while macOS is running. You will need to boot into macOS Recovery (restart and hold Command-R) and use Disk Utility from there.
Using Terminal for Advanced Fixes
For stubborn cases, the command-line tool diskutil can sometimes do what Disk Utility cannot. For example, to erase a disk and create a GPT partition map with a single APFS volume:
diskutil eraseDisk APFS "Macintosh HD" GPT /dev/disk2
Replace /dev/disk2 with your drive identifier. This command wipes the drive and creates a fresh GPT map. To create a specific partition layout, use diskutil partitionDisk:
diskutil partitionDisk /dev/disk2 GPT APFS "Volume1" 100g APFS "Volume2" 0b
This creates two APFS volumes, the first 100 GB and the second using the remaining space. Be absolutely sure you have the correct disk identifier — using the wrong one will erase the wrong drive.
Common Misconceptions
Many users think the error means the drive is broken. That is rarely the case. The drive is usually fine; the partition map just needs to be rebuilt. Another misconception is that you can convert a partition map type without erasing. macOS does not offer a built-in way to convert between GPT, APM, and MBR without data loss. Third-party tools may do it, but they are not officially supported and can be risky.
Also, note that APFS (Apple File System) is not a partition map — it is a file system. You can have APFS volumes on a GPT drive, but you cannot put APFS on an MBR drive and expect it to boot a Mac. The partition map and the file system are separate layers.
When to Seek Professional Help
If the drive contains irreplaceable data and you cannot back it up, do not erase it. Contact a data recovery service. They have specialized tools to rebuild partition maps without destroying data. This is expensive, but it is the only safe option when the data is more valuable than the drive.
For drives that are still under warranty, the manufacturer may offer replacement, but they will not recover data. Always keep backups of anything you cannot afford to lose.
Frequently Asked Questions
Why does Disk Utility say “Could not modify partition map” on a new drive?
New drives usually come with a preinstalled partition map (often MBR). If you try to add a partition that exceeds MBR’s four-partition limit, you get the error. Erase the drive with the GPT scheme first.
Can I fix this without erasing my external drive?
Sometimes yes. Unmount all volumes, disable Spotlight indexing, and try First Aid. If the partition map is not corrupted, these steps often resolve the issue. If they don’t, you must erase to change the partition scheme.
What is the difference between GPT and APM?
GPT is the modern standard for Intel and Apple Silicon Macs, supporting many partitions and larger drives. APM is the older scheme from PowerPC Macs, limited to 15 partitions and not bootable on current Macs. Use GPT for almost everything now.
Will this error damage my files?
No. The error itself does not damage data. It simply refuses to make the change. However, if you then erase the drive to fix it, that will destroy all data on it. Back up first.
Can I use Windows tools to fix a Mac partition map?
Windows Disk Management can see and modify MBR and GPT drives, but it does not understand APM. If your drive uses APM, Windows may show it as uninitialized. Use macOS Disk Utility to fix it.
Does this error happen on SSDs too?
Yes, it can happen on any storage device — HDD, SSD, or USB flash drive. The cause is the same: the partition map does not support the requested operation.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.