My external HDD is in NTFS format and the Mac I’m using at work cannot write files to it. I solved this issue by running NTFS-3G on my Mac OS X version 10.11.
Follow these simplified instructions to mount your NTFS drive as writeable in your Mac. If you encounter any problem, scroll down below the instructions to see solutions for errors I encountered.
- Install Homebrew package manager by running the following command, as instructed in brew.sh:
1/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install osxfuse if you haven’t yet.
- Install NTFS-3G from Homebrew by typing this on your Terminal:
1brew install homebrew/fuse/ntfs-3g
- Plug your external drive into your Mac
- Unmount the external drive from your Mac if it’s already mounted. (Unmount, not unplug!)
- Run the following commands to manually mount the external HDD as NTFS-3G:
12sudo mkdir /Volumes/NTFSsudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/NTFS -olocal -oallow_other
- Your external drive should now appear as NTFS-3G format drive, and you should be able to write on it now from your Mac.
Error Fixing
OsxfuseRequirement unsatisfied
I tried to install NTFS-3G on my personal MacBook Pro but it failed with this message after installing Homebrew:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
MacBook:~ toncatzu$ brew install homebrew/fuse/ntfs-3g ==> Tapping homebrew/fuse Cloning into '[...]/usr/local/Homebrew/Library/Taps/homebrew/homebrew-fuse'... remote: Counting objects: 34, done. remote: Compressing objects: 100% (34/34), done. remote: Total 34 (delta 0), reused 17 (delta 0), pack-reused 0 Unpacking objects: 100% (34/34), done. Checking connectivity... done. Tapped 28 formulae (86 files, 74.6K) ==> Installing ntfs-3g from homebrew/fuse ntfs-3g: OsxfuseRequirement unsatisfied! You can install with Homebrew Cask: brew cask install osxfuse You can download from: https://osxfuse.github.io/ Error: An unsatisfied requirement failed this build. |
So I run this command to install osxfuse:
1 |
brew cask install osxfuse |
My brew install homebrew/fuse/ntfs-3g
command moved past that issue after that.
brew link errors
I got these errors after running the command brew install homebrew/fuse/ntfs-3g
again:
1 2 3 |
Error: The `brew link` step did not complete successfully [...] Error: An unexpected error occurred during the `brew link` step |
So I ran brew doctor
and some of the results were these:
Warning: The following directories are not writable:
/usr/local/share/manThis can happen if you “sudo make install” software that isn’t managed
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.You should change the ownership and permissions of these directories.
back to your user account.
sudo chown -R $(whoami) /usr/local/share/manWarning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Runbrew link
on these:
ntfs-3g
pkg-config
First I ran this command for the permission issue: sudo chown -R $(whoami) /usr/local/share/man
Then ran this command too: brew link ntfs-3g
After the linking, brew install homebrew/fuse/ntfs-3g
finally installed successfully!
Failed to access volume /dev/disk1s1
After running the command sudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/NTFS -olocal -oallow_other
, this error was shown:
ntfs-3g: Failed to access volume ‘/dev/disk1s1’: No such file or directory
This means disk1s1
, as specified in the command, cannot be found. What you can do is find the IDENTIFIER of your external drive from the table that this command returns:
1 |
diskutil list |
Reference(s): NTFS-3G on osxfuse