Mount an Apple APFS drive in Ubuntu

Mount an Apple APFS drive in Ubuntu

Install ‘fsapfsmount’:

sudo apt install libfsapfs-utils

List your drives:

sudo fdisk -l

Look for the drive you want to mount. Example:

Device      Start        End    Sectors   Size Type
/dev/sdb1      40     409639     409600   200M EFI System
/dev/sdb2  409640 2000409223 1999999584 953.7G unknown

/dev/sdb2 is the drive we want to mount

Issue the command to mount the drive:

sudo fsapfsmount -f 1 [source] [directory to mount at]

sudo fsapfsmount -f 1 /dev/sdb2 /media/usb

The drive contents will be inaccessible to all but the root user.
If you want to launch the Ubuntu File Manager as root:

sudo xdg-open .

5 thoughts on “Mount an Apple APFS drive in Ubuntu”

  1. What if terminal returns “unable to open source container”?

    Then it goes off about superblock and blah blah blah

    Thanks for the glimmer of hope on retrieving information from a mac. The owner of this system died and her sister is wanting to retrieve her files and especially something about a family tree but testdisk didn’t apparently get everything she is looking for.

    (God I hate working on macs and windows machines…it’s so counter-productive).

  2. Thanks for posting this.

    1) How could one access the directory via command line? I access my device via SSH and don’t know how to access the mounted drive as root.

    2) Is it possible to mount the drive not by the “/dev/sdb2” which can change but but instead the GUID?

    Thanks Again!

Leave a Reply

Your email address will not be published. Required fields are marked *