sgan81 / apfs-fuse

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

Cant mount my APFS partition #189

Open hobs0n opened 11 months ago

hobs0n commented 11 months ago

Ive written in another thread but got no answer to it so I made a new thread regarding this

I´m pretty sure the APFS partition is encrypted since I have to write the password two times when the computer does a cold startup so I add the password on the apfs-fuse terminal command: : sudo apfs-fuse -o pass= -o uid=1000,gid=1000,allow_other -d 15 /dev/sda2 /home/hobs0n/apple and I got several pages of info. I´m just posted the first half-page here, let me know if you want more.

Device /dev/sda2 opened. Size is 151976800256
Mounting xid different from NXSB at 0 (xid = 15888091). xid = 15888091
Mounting xid 15888091
omap: oid=2637555 xid=15888091 flags=0 size=4096 paddr=151456
omap: oid=1029 xid=15888091 flags=0 size=4096 paddr=151457
omap: oid=2574525 xid=15888077 flags=0 size=4096 paddr=544223
apfs_opendir: 1
apfs_lookup: ino=1 name=BDMV => Lookup hashed key: key=9000000000000001 hash=9318a005 name='BDMV'
42 44 4D 56 BDMV
Lookup failed!
FAIL
apfs_getattr: ino=1 => OK
apfs_lookup: ino=1 name=autorun.inf => Lookup hashed key: key=9000000000000001 hash=38C9640C name='autorun.inf'
61 75 74 6F 72 75 6E 2E 69 6E 66 autorun.inf
Lookup failed!
FAIL
apfs_lookup: ino=1 name=.xdg-volume-info => Lookup hashed key: key=9000000000000001 hash=74129411 name='.xdg-volume-info'
2E 78 64 67 2D 76 6F 6C 75 6D 65 2D 69 6E 66 6F .xdg-volume-info
Lookup failed!
FAIL
apfs_readdir: 1
omap: oid=2748BF xid=F26ED6 flags=0 size=1000 paddr=836E1
dumping entry key
0000: 01 00 00 00 00 00 00 90 0C 8C A6 AC 70 72 69 76 - ............priv
0010: 61 74 65 2D 64 69 72 00 - ate-dir.
dumping entry val
0000: 03 00 00 00 00 00 00 00 B7 95 57 81 27 19 21 16 - ..........W.'.!.
0010: 04 00 - ..
dumping entry key
0000: 01 00 00 00 00 00 00 90 05 E4 71 B6 72 6F 6F 74 - ..........q.root
0010: 00 - .
dumping entry val
0000: 02 00 00 00 00 00 00 00 F3 67 57 81 27 19 21 16 - .........gW.'.!.
0010: 04 00 - ..
dumping entry key
0000: 02 00 00 00 00 00 00 30 - .......0
dumping entry val
0000: 01 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 - ................
0010: F3 67 57 81 27 19 21 16 34 39 D8 DF D4 1E 74 16 - .gW.'.!.49....t.
0020: 34 39 D8 DF D4 1E 74 16 41 3A D8 DF D4 1E 74 16 - 49....t.A:....t.
0030: 00 80 00 00 00 00 00 00 04 00 00 00 00 00 00 00 - ................
0040: 05 00 00 00 00 00 00 00 00 00 00 00 50 00 00 00 - ............P...
0050: FD 41 00 00 00 00 00 00 00 00 00 00 01 00 08 00 - .A..............
0060: 04 02 05 00 72 6F 6F 74 00 00 00 00 - ....root....
apfs_readdir: 1
apfs_readdir: 1
apfs_releasedir 1
apfs_opendir: 1
apfs_readdir: 1

If I run without allow_other sudo apfs-fuse -o pass= -o uid=1000,gid=1000 -d 15 /dev/sda2 /home/hobs0n/apple

I get much shorter info:

Device /dev/sda2 opened. Size is 151976800256
Mounting xid different from NXSB at 0 (xid = 15888091). xid = 15888091
Mounting xid 15888091
omap: oid=2637555 xid=15888091 flags=0 size=4096 paddr=151456
omap: oid=1029 xid=15888091 flags=0 size=4096 paddr=151457
omap: oid=2574525 xid=15888077 flags=0 size=4096 paddr=544223