apfs-fuse
apfs-fuse copied to clipboard
sudo: ./apfs-fuse: command not found
I have supposedly done everything right from https://linuxnewbieguide.org/how-to-mount-macos-apfs-disk-volumes-in-linux/ but error still occurred. I am very inexperienced with linux (having ubuntu at the moment) so please have patience with me. Any comment appreciated...
This is a late reply, but if you followed the guide you linked, then apfs-fuse
should be in /usr/local/bin
, thus you could instead run sudo /usr/local/bin/apfs-fuse
. Cheers.
I have the same error here, tried your solution, still got the same error. Any other ideas?
If by the same error you mean command not found
, try which apfs-fuse
to see where it is located, and use sudo /path/to/apfs-fuse
instead.
If it says apfs-fuse not found
then you didn't install it on your PATH, and you need to copy them to your PATH, for example, to /usr/local/bin
with sudo
.
apfs-fuse /dev/sda2 /mnt/macOS
gives me apfs-fuse: Befehl nicht gefunden.
, which is German for "command not found. apfs-fuse
gives me no output at all, even after copying the whole folder to /usr/local/bin
. Any other ideas?
If you copied apfs-fuse
to your /usr/local/bin
, try sudo /usr/local/bin/apfs-fuse /dev/sda2 /mnt/macOS
. Does this command give you any output?
The same in green: sudo: /usr/local/bin/apfs-fuse: Befehl nicht gefunden
Btw: If I use nemo to search for "apfs-fuse", I only get two exact matches: One is the folder that got created through git clone
, and the other a 443,6 kB (443.552 Bytes) file of type "Unknown (application/x-sharedlib)", located in /usr/local/bin/apfs-fuse/build
.
Should there be anything else? Or is there anything I can/should do to this file?
Looks like you copied the whole apfs
folder from git clone
to /usr/local/bin
. However, you only need the things in the apfs-fuse/build
folder in /usr/local/bin
.
So, first move the apfs-fuse
folder out to, say, your home folder:
sudo mv /usr/local/bin/apfs-fuse ~/
Then copy everything in the build folder (not the build folder itself) to /usr/local/bin
. Then the above solution should work.
(What it does is to put build targets on your PATH, so your terminal would recognize it. Sometimes this is done automatically during the build process, but it's not the case with apfs-fuse
here.)
Nice, thank you. @GullibleGreenGecko if this helped you too, I suggest you close this issue.
Now I'm running into ownership issues, but I think that's not the fault of apfs-fuse.
hello, i have the same issue, i cant figure out, in my local bin folder is the apfsfuse but dont work, the same error
/usr/local/bin/aptfuse/src/apfs-fuse/apfsfuse: command not found
Read again what timokratia wrote here: https://github.com/sgan81/apfs-fuse/issues/93#issuecomment-633034991 Did you follow it exactly?