4

When I insert my 64GB SanDisk Micro SDXC Card into my 2012 MacBook Pro (in a MicroSD/SDHC/SDXC Adapter that works with other Micro SD cards), a popup dialog informs me that "The disk you inserted was not readable by this computer." The card works properly in my phone; it was formatted by a Galaxy S3.

$ sudo fdisk /dev/disk4 indicates that the computer can, in fact, read the "disk"; it contains a single partition formatted to Win95 FAT32L. Presumably the "L" indicates the LBA version of FAT32.

Is OSX not able to read large FAT32 volumes? Is there a way to remedy this? Or is the problem that OSX cannot properly deal with SDXC cards?

Update: The volume appears to be exFAT. See my answer for more info.

2
  • Actually exFAT is supported under OS X, as well as oversized FAT32.
    – bot47
    Commented Aug 29, 2014 at 14:55
  • So I've learned. Linux can read the card okay. Maybe OSX is getting confused because it's not using the proper partition ID?
    – intuited
    Commented Aug 29, 2014 at 15:34

2 Answers 2

4

Most Android phones format exFAT SDcards incorrectly, the BlackBerry Priv being the only one I know that does it correctly. All other Android devices create a partition of type 12 (sometimes referred as hexadecimal "c") instead of 7. The android device actually ignores the partition type, so if you set it to 7 then the sdcard will work fine everywhere. There are many options:

  1. You can format the sd card on your MAC, then use it on any other device. Don't forget to copy your data somewhere else first, since reformatting will erase the contents of the sd card.
  2. Use the program fdisk on PC or Linux system. Use the command "mount" on the linux system to see the name of the device corresponding to your sd card (it looks like /dev/sdc1 ) then call fdisk on that device, omitting the last digit (ex: fdisk /dev/sdc). Then use option "t" to change the partition type to 7
  3. I think there is a similar program on Windows.
1
  • Wow! I hope this works. Holding off on accepting it because I've switched back to Linux for a bit and can't easily test it out.
    – intuited
    Commented Jan 5, 2016 at 15:49
2

My workaround was to access the disk via a Linux VM under VirtualBox. I would still quite like to know how to do this natively under OSX.

This is not a trivial task. This answer was instrumental in getting it set up. I did end up chowning /dev/disk4.

Even after getting SD Card access set up, Linux was unable to mount the partition until I installed exfat-utils; presumably this is, in fact, an exFAT partition. When I mounted it, something like FUSE exFAT was output to the console. This is confusing, since both OSX and Linux's fdisk show the partition ID as 0C, indicating FAT32 LBA (exFAT is supposed to use 07).

EDIT there were problems with this approach: large copies accessing the vm-mounted sdcard would hang after copying only a relatively small amount of data (say, 1-2G out of 64). It was a while ago, but I think I ended up archiving the stuff to copy over into split tarballs and sending the files to the phone using adb. I'll probably be posting another answer here soon, since I'm about to upgrade my SD card yet again. It's looking like rebooting to Ubuntu using a USB drive is going to be the way to go.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .