-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access the root folder #174
Comments
Hmmm ... can you run the command with the -d flag and see if you notice something useful? |
Hi @sgan81, |
Well, it doesn't exactly work that way ... First of all, -d 1 will not give you too much information. Try using -d 255. You will then get the debug output in the terminal where you started it. Use another terminal to access the files while apfs-fuse is running. When you unmount in the second terminal, apfs-fuse will terminate itself. The reason is that normally apfs-fuse starts and runs in the background, but when you use -d something, it will run in the foreground and output messages in the terminal were it was started. |
Thank you @sgan81, here is the debug output: Version : 0002 Key 0: Key 1: [VEK] starting LoadKeybag @ 468003 Version : 0002 Key 0: [KEK] Key 1: PW Key : VEK Wrpd: 4AD24B8F92F3776B349ABEF5DD90AA93C5F4F8A7475AC34F02B1F866C1CE3207C58B1D042169E1AE |
Better delete the lines "PW Key", "KEK" and "VEK" in your post, as these contain your encryption keys ... |
Ok, I just deleted them |
Sorry about that. And I'll look into your other issues ... |
Thank you very much Simon! |
Can you try again with the newest version? Use -d 15 this time ... Somehow it can't read the root inodes, but I can't see why ... the crypto obviously works. |
Sorry for the newbie question... do I have to repeat these steps to upgrade to the new version? git clone https://github.com/sgan81/apfs-fuse.git ...or is there a better way? |
cd apfs-fuse cd is for changing the current directory. cd .. changes to the parent directory. |
Here is the new debug output: |
I see. I don't know why it fails, the output looks like it shouldn't. I'll need to investigate. |
Sure, thank you for your help Simon! |
Ok, since you have been very helpful so far, i have a little challenge for you ...
Thanks :) |
Hi Simon, I've done my homework ;-) root@AndrumNAS:~# apfs-fuse -d 15 /dev/sdb2 /mnt/apfs |
On what kind of CPU are you trying to run this? |
Hold on tight!... :-) Architecture: armv5tel |
That's exactly what I suspected ... an old ARM that does not support unaligned access. I can fix this, but it will take some time. I'll get back to you when stuff is ready for testing ;) |
Oh I see!... I'm glad you figure out what the problem is. |
I found this wonderful thread when I tried to get the APFS partition mounted on my Manjaro XFCE installation. I have already posted in this thread on the Manjaro forums but this thread seems better since the actual developer of apfs-fuse, sgan81, seems to be here :) 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:
If I run without allow_other I get much shorter info:
|
Hi sgan81,
I can mount the password-protected APFS partition without any problems. When I access the mount folder, I can see the "private-dir" and "root" folders but I can't access them and get the error "bash: cd: root: Input/output error".
When I try to unmount, I get always "fusermount: failed to unmount /mnt/apfs: Device or resource busy"
Thank you so much for the help!
The text was updated successfully, but these errors were encountered: