sgan81 / apfs-fuse

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

ERROR: GetNode: ReadAndVerifyHeaderBlock failed! #91

Closed codeghost1931 closed 5 years ago

codeghost1931 commented 5 years ago

After entering the recovery key for the encrypted volume, I get the following the output and then the tool quits:

Starting program: /usr/local/bin/apfs-fuse ewf1 /media/root/macos [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Volume Macintosh HD is encrypted. Enter Password: ERROR: GetNode: ReadAndVerifyHeaderBlock failed! BTree::Lookup: Node 632846 with parent 632444 not found. oid 47b xid 1f280b NOT FOUND!!! ERROR: GetNode: omap entry oid 47b xid 1f280b not found. ERROR: BTree Init: Unable to get root node 47b WARNING: root tree init failed ERROR: GetNode: ReadBlocks failed! ERROR: BTree Init: Unable to get root node 9aaf2 WARNING: extentref tree init failed ERROR: GetNode: ReadBlocks failed! ERROR: BTree Init: Unable to get root node 9a66e WARNING: snap meta tree init failed [Detaching after fork from child process 21383] [Inferior 1 (process 21378) exited normally]

I attempted running in debug mode and got the same output. Backtrace just said "No stack." Any help would be much appreciated. Thanks!

codeghost1931 commented 5 years ago

I had mounted an E01 using ewfmount, which I then passed to apfs-fuse. I unmounted the ewf device and remounted it. This resolved my issue.