Last active
March 13, 2024 15:49
-
-
Save miguelmota/d1d70d19fbd763afdd65c5c1375ddbde to your computer and use it in GitHub Desktop.
OS X mount FAT32 partition with read/write permissions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil list | |
diskutil unmount /dev/disk0s6 | |
sudo mount -w -t msdos /dev/disk0s6 /Volumes/data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make sure to move the switch up on the side of the SD card to disable write-protected mode. |
This worked for me before, but it's not working for me today. I presume the difference is the M1 Mac.
sudo mount -w -t msdos /dev/$IDENTIFIER /Volumes/$NAME
mount_msdos: Unsupported sector size (98)
mount: /Volumes/HASSFAT failed with 71
@jdjasperson Can I suggest you edit 4.
to be sudo mount -w -t msdos /dev/$IDENTIFIER /Volumes/$NAME
.
I was able to edit the file using a Windows VM on Parallels (ARM).
BrianHenryIE i'm getting the exact error 71 with an i7 mbp ! it's not related to M1
by the way i'm stuck in this step :
sudo mount -w -t msdos /dev/disk2s3 /Volumes/data
mount_msdos: /dev/disk2s3 on /Volumes/data: Permission denied
mount: /Volumes/data failed with 71
@mohamed-ea @BrianHenryIE seems like this is a common issue now, I solved it on my case.
I was getting:
$ sudo mount -w -t msdos /dev/disk6 /Volumes/fat
mount_msdos: Unsupported sector size (0)
mount: /Volumes/fat failed with 71
The problem is because we were trying to either mount the disk or the wrong partition, make sure you are mounting the correct partition on your disk
does not work for me on an m1 mac,
mount_msdos: /dev/disk4: Operation not permitted
mount: /Volumes/nrf failed with 71
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when I mount a mp3 player fat32 disk, it shows an error like this
mount_msdos: Unsupported sector size (0)