sgan81 / apfs-fuse

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

Reading apfs partition from ssd: Failed to load checkpoint map #73

Open freekvh opened 5 years ago

freekvh commented 5 years ago

Hi, I am trying to salvage my wife's data from her Macbook Pro's ssd. I think it has APFS (at least I can't use hfsplus as a mount option and I installed macOS this year... Anyway, I'm getting this error:

freek@home:~/projects/apfs-fuse/build$ sudo ./apfs-fuse /dev/sdd2 ~/mnt
Failed to load checkpoint map
nid 403 xid 4189a NOT FOUND!!!
Unable to get volume!

Do you know what it means? Perhaps it is useful, here is the relevant output of fdisk -l:

Disk /dev/sdd: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CFE47CC8-9CA7-49B3-9548-ACD2517E7599

Device      Start       End   Sectors   Size Type
/dev/sdd1      40    409639    409600   200M EFI System
/dev/sdd2  409640 468862087 468452448 223.4G unknown

Highest regards,

Freek.

sgan81 commented 5 years ago

Yeah, it looks like it has apfs on it, otherwise it would complain about a wrong superblock or something ...

Can you try again using -d 255? That way, it will output more diagnostic information.

sgan81 commented 5 years ago

Other question ... you said it's a MacBook Pro. What model is it exactly?

The problem is, newer MacBook Pro models use hardware encryption, which I haven't figured out yet, and I doubt it is that easy to figure out ...

bioharz commented 5 years ago
#:/media$ sudo apfs-fuse -o allow_other -d 255  /dev/sdc2 /media/backup/
Device /dev/sdc2 opened. Size is 499898105856
Failed to load checkpoint map
Unable to load container.