Disk Utility error reformatting external disk partition map

I have a trouble reformatting an external disk, I tried on Disk Utility, but the utility keeps giving me an error. Like this:


Error: -69874: Couldn't modify partition map


Thanks for answering.



У меня возникла проблема с переформатированием внешнего диска. Я пробовал сделать это через «Дисковую утилиту», но утилита постоянно выдает ошибку. А именно:


Не удалось изменить схему разделов. : (-69874)


Спасибо за ответ.

MacBook Air (M2, 2022)

Posted on Oct 30, 2026 4:23 AM

Reply
3 replies

Oct 30, 2026 4:53 AM in response to ali2482

Fixing Disk Utility Error -69874 on an External Drive (macOS 27)


If you're trying to reformat an external drive on your MacBook Air M2 (2022) and Disk Utility keeps displaying this error:


Error: -69874: Couldn't modify partition map


It generally means macOS is unable to modify the drive's partition table. Possible causes include a corrupted partition map, write protection, connection issues, or an underlying hardware problem.


Here are a few things worth trying.


Step 1 Select the physical drive


First, make sure Disk Utility is targeting the entire external drive rather than just one of its volumes.


  1. Open Disk Utility.
  2. Select View > Show All Devices.
  3. Select the external drive at the top of its hierarchy.
  4. Click Erase.


Click Erase and see whether the operation completes.


Apple's instructions: Initialize an external storage device in Disk Utility.


Step 2  Try formatting through Terminal


If Disk Utility continues to fail, try using Terminal.


Open Terminal (Applications > Utilities > Terminal) and run: diskutil list


Find your external drive and note its disk identifier. For example: /dev/disk4 (external, physical):


In this example, the identifier is disk4.


To format the drive for Mac and Windows:


diskutil eraseDisk ExFAT External GPT /dev/disk4


For Mac-only use:


diskutil eraseDisk APFS External GPT /dev/disk4


Replace disk4 with your actual disk identifier.


Important: These commands erase the entire selected drive, including all existing partitions and files. Double-check the identifier and back up anything important before proceeding.


Apple's troubleshooting instructions: How to repair a Mac storage device with Disk Utility.


Additional Apple Support References


These official Apple guides may also be useful:


Erase and reformat a storage device in Disk Utility — Apple's complete formatting instructions.


View all devices or only volumes in Disk Utility — Explains the difference between physical disks, containers, and volumes.


Partition schemes available in Disk Utility — Explains GUID Partition Map and other partition schemes.

Oct 30, 2026 8:18 AM in response to ali2482

Errors -69874 ("Couldn't modify partition map") and -69877 ("Couldn't open device") on a Mac usually mean macOS is trying to change a drive that is currently locked, busy with background processes, or has a damaged partition structure. 


You can fix this by targeting the parent physical drive instead of the volume, forcing an unmount via Terminal, or formatting in Recovery Mode.


Force Unmount via Terminal

If background processes or an invisible lock keep the device open, you can force-unmount it first.

  • Open Terminal (from Applications > Utilities or via Spotlight).
  • Type the following command and press Enter to list all attached drives:
diskutil list
  • Locate your external hard drive in the list (identify it by its size or name, e.g., /dev/disk2). (Double-check that you pick the right disk so you don't erase your internal drive!)
  • Force unmount the disk using this command (replace disk2 with your actual external disk identifier):
diskutil unmountDisk force /dev/disk2
  • Now, attempt to erase the entire disk directly from Terminal:
diskutil eraseDisk APFS MyExternal GUID /dev/disk2


It is also possible the disk has hardware issues. Apple offers some diagnostic tools:

Check if a Mac disk is about to fail - Apple Support


DriveDx offers more:

https://binaryfruit.com/drivedx/




Disk Utility error reformatting external disk partition map

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.