Cannot read fat32 external drives: Couldn’t modify partition map. : (-69874)

I cannot read my 2 fat32 external drives since the last update to macOS Ventura 13.6.


I get the following error when running First Aid with disk utility.


Running First Aid on “SanDisk Cruzer Blade Media” (disk4)

Fixing damaged partition map.
Couldn’t modify partition map. : (-69874)

Operation failed…


I can read both drives from a VM with Windows in the same Mac, from another laptop with Windows, and even from another Mac with macOS Monterrey (but it shows as read-only).


This is the info I get:


Volume type : Physical Device
BSD device node : disk4
Connection : USB
Device tree path : IODeviceTree:/arm-io/usb-drd1@2280000/usb-drd1-port-hs@01100000
Writable : No
Is case-sensitive : No
Volume capacity : 64,016,220,160
Available space (Purgeable + Free) : 0
Purgeable space : 0
Free space : 0
Used space : 64,016,220,160
Owners enabled : No
Is encrypted : No
Can be verified : No
Can be repaired : No
Bootable : No
Journaled : No
Disk number : 4
Media name : SanDisk Cruzer Blade Media
Media type : Generic
Ejectable : Yes
Solid state : No
SMART status : Not Supported


and from the terminal


/dev/disk4 (external, physical):
  #:            TYPE NAME          SIZE    IDENTIFIER
  0:   FDisk_partition_scheme            *64.0 GB  disk4
  1:         DOS_FAT_32             64.0 GB  disk4s1


Please help.

Posted on Nov 13, 2023 5:58 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 13, 2023 6:45 AM

It appears the drive is write protected. Some will have a small write protect switch that you can toggle. If yours does not have a write protected switch, then search the web for "Sandisk cruzer write protected" for suggestions on disabling it. This is a common problem with the SanDisk drives and there are many different solutions available for you to try. Users have not found a single solution to solve the problem. For some, simply starting in Safe Mode worked.

Use safe mode on your Mac - Apple Support


Similar questions

9 replies
Question marked as Top-ranking reply

Nov 13, 2023 6:45 AM in response to liriarte

It appears the drive is write protected. Some will have a small write protect switch that you can toggle. If yours does not have a write protected switch, then search the web for "Sandisk cruzer write protected" for suggestions on disabling it. This is a common problem with the SanDisk drives and there are many different solutions available for you to try. Users have not found a single solution to solve the problem. For some, simply starting in Safe Mode worked.

Use safe mode on your Mac - Apple Support


Nov 14, 2023 1:34 PM in response to liriarte

What if you Get Info on the "DOS_FAT_32" volume which is "disk4s1" at the time? You only provided the info for the physical drive.


Also try updating to 13.6.1 (or 13.6.2 depending on the model of the Mac).


Did you erase the whole physical drive or just the existing volume? Within Disk Utility you may need to click "View" and select "Show All Devices" before the physical drives appear on the left pane of Disk Utility. Try erasing the physical drive as GUID partition and FAT32 (or ms-dos), or MacOS Extended (Journaled) just for testing purposes to see if either the GUID partition type makes a difference or the file system. If you need the legacy MBR partition type, then try using that again.


Sometimes macOS & Disk Utility can get confused by the smallest thing when it comes to drives, especially a USB stick. If you are familiar with the command line, then write zeroes to the beginning of the USB stick to overwrite the partition table & start of the file system. You don't need to write too many zeroes....maybe 500MB although I usually end up writing about a 1GB of zeroes just to be safe.


Is this one of the USB stick models which may have a write disable switch or feature? I know you have it working sometimes, but maybe macOS is getting hung up on that feature while Windows is not.



Nov 24, 2023 1:13 PM in response to liriarte

liriarte wrote:

If I am not wrong I'd need to run the following

sudo dd if=/dev/zero of=/dev/disk4 bs=500M

Yes, assuming the drive you want to erase has the drive identifier of "disk4" and is unmounted (different than ejecting it). Except for macOS you must use a lower case letter for the size designation "bs=500m". However, this does not write just 500MB, but indicates a block size of 500MB.


All volumes on the drive being erased must first be unmounted. You can use Disk Utility to unmount all volumes on the drive. Ejecting the volumes from the Finder does more than just unmount the volumes, it also disconnects the drive from the system so it is no longer accessible to the OS. It can also be done from the command line. Assuming the drive has the identifier "disk4", the following command can be used:

disktutil  unmountDisk  disk4



but from Recovery Mode and after csrutil disable. Does it make sense?

No need. You are erasing an external drive. It can be done while booted normally into macOS. Recovery Mode is only needed if you are erasing the internal boot drive. Even then I don't think you need to disable SIP since you would be operating on the whole physical drive.



On the other I've managed to read/write/erase on my other Mac (Monterrey 12.2.1), so this seems to be definitely something with this Mac (Ventura 13.6.2)

Try booting into Safe Mode to see if that makes any difference.


What third party software or configuration of macOS differs between them?


Perhaps other connected devices? Disconnect all other devices to see if that makes a difference.


If you are using any anti-virus apps, cleaning/optimizer apps, or third party security software, then uninstall them by following the developer's instructions since these types of apps are not needed on a Mac and usually causes more problems than they solve. You can run EtreCheck and post the report here so we can examine it for possible clues.


I did have a USB stick where it seemed to work fine on one Mac, but refused to work on another Mac. If I zeroed the beginning of the USB stick, then the other Mac was able to erase it and use it & it seemed Ok, but then the first Mac could no longer access the USB stick. It ended up being a bad USB stick. I had never before encountered such behavior before.

Nov 16, 2023 10:24 AM in response to liriarte

liriarte wrote:

I can try writing zeroes. Shall I do that and erase afterwards?

Yes. When you write zeroes to the beginning of the drive you destroy the partition table so the drive should appear completely blank. If the USB stick has no hardware issues, then this should work. Otherwise, I would suspect a hardware issue of some sort.


Do you know how to use the command line to write zeroes to the beginning of the USB stick or do you need instructions? How well do you know the command line?

Nov 14, 2023 2:48 AM in response to Mac Jim ID

Most of the solutions I found consist of erasing/reformatting the drive. I've done this and also the safe mode trick and nothing worked.


I erased the drive from my other Mac with Monterrey 12.2.1, but didn't make a difference.


I can still read and write from Windows without a problem. I also reformatted the drive from Windows and did not work.


Also, I am having the same problem with another drive Kingston.


Is there anything else I can try?


Why has this started to happen after the last upgrade? And why does it behave differently in Ventura and Monterrey?

Nov 14, 2023 3:13 AM in response to liriarte

Most of the solutions I found consist of erasing/reformatting the drive. I've done this and also the safe mode trick and nothing worked.


I erased the drive from my other Mac with Monterrey 12.2.1, but didn't make a difference.


I can still read and write from Windows without a problem. I also reformatted the drive from Windows and didn't make a difference later in my Mac.


Also, I am having the same problem with another drive Kingston.


Is there anything else I can try?


Why has this started to happen after the last upgrade? And why does it behave differently in Ventura and Monterrey?

Nov 16, 2023 9:57 AM in response to HWTech

Find the info below


diskutil info disk4s1                                                                                                           ✔  11:19:33 
  Device Identifier:     disk4s1
  Device Node:        /dev/disk4s1
  Whole:           No
  Part of Whole:       disk4

  Volume Name:        
  Mounted:          No

  Partition Type:      DOS_FAT_32
  File System Personality:  MS-DOS
  Type (Bundle):       msdos
  Name (User Visible):    MS-DOS (FAT)

  OS Can Be Installed:    No
  Media Type:        Generic
  Protocol:         USB
  SMART Status:       Not Supported
  Partition Offset:     16384 Bytes (32 512-Byte-Device-Blocks)

  Disk Size:         64.0 GB (64016203776 Bytes) (exactly 125031648 512-Byte-Units)
  Device Block Size:     512 Bytes

  Volume Total Space:    0 B (0 Bytes) (exactly 0 512-Byte-Units)
  Volume Free Space:     0 B (0 Bytes) (exactly 0 512-Byte-Units)

  Media OS Use Only:     No
  Media Read-Only:      No
  Volume Read-Only:     Not applicable (not mounted)

  Device Location:      External
  Removable Media:      Removable
  Media Removal:       Software-Activated

  Solid State:        Info not available


Erasing the physical drive as GUID partition and FAT32 (or ms-dos) or MacOS Extended (Journaled) did not work either. Same updating mac OS.


The drive has no switch.


I can try writing zeroes. Shall I do that and erase afterwards?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Cannot read fat32 external drives: Couldn’t modify partition map. : (-69874)

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