sgan81 / apfs-fuse

FUSE driver for APFS (Apple File System)
GNU General Public License v2.0
1.78k stars 164 forks source link

Unable to open an APFS DMG disk #114

Closed zedtux closed 4 years ago

zedtux commented 4 years ago

The README.md says it is possible to mount DMG files, even ecrypted which is what I'm looking for.

I have create a DMG disk from macOS Catalina, in APFS mode encrypted in AES 128bits with the following options:

Screenshot 2020-01-28 at 10 32 16

But when I try to mount it it fails:

$ apfs-fuse -d 8 ~/secured/crypted_linux.dmg ~/media/secured
Encryped DMG detected.
Password: 
This doesn't seem to be an apfs volume (invalid superblock).
Unable to load container.
zedtux commented 4 years ago

I just realized that changing the Partition scheme switches the Format automatically to Mac OS Extended (Journaled), which obviously can't work with apfs-fuse.

Keeping the GUID works like a charm. Sorry for the noise!