Skip to content

Instantly share code, notes, and snippets.

@bjorgvino
Last active September 22, 2025 15:45
Show Gist options
  • Select an option

  • Save bjorgvino/f24e5c079b92f921b765 to your computer and use it in GitHub Desktop.

Select an option

Save bjorgvino/f24e5c079b92f921b765 to your computer and use it in GitHub Desktop.
osxfuse + ntfs-3g + Yosemite = NTFS R/W
Remove osxfuse if installed via homebrew:
> brew uninstall osxfuse
Install osxfuse binary and choose to install the MacFUSE compatibility layer:
http://sourceforge.net/projects/osxfuse/files/latest/download?source=files
Reboot (optional but recommended by osxfuse)
Install ntfs-3g via homebrew:
> brew update && brew install ntfs-3g
Link mount_ntfs:
> sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
> sudo ln -s /usr/local/Cellar/ntfs-3g/2014.2.15/sbin/mount_ntfs /sbin/mount_ntfs
The output of the following should be as below:
> ls -l /sbin/mount_ntfs*
/sbin/mount_ntfs -> /usr/local/Cellar/ntfs-3g/2014.2.15/sbin/mount_ntfs
/sbin/mount_ntfs.original -> /System/Library/Filesystems/ntfs.fs/Contents/Resources/mount_ntfs
Reboot and voila
@nobe4
Copy link
Copy Markdown

nobe4 commented Dec 23, 2014

Just perfect :D Thanks a lot !

@jhash
Copy link
Copy Markdown

jhash commented Jan 4, 2015

This is great! Thanks a lot

@fiedl
Copy link
Copy Markdown

fiedl commented Jan 31, 2015

Thanks!

It's also possible to install osxfuse through Homebrew Cask:

brew install caskroom/cask/brew-cask  # installs Homebrew Cask
brew cask install osxfuse

@sir-brickalot
Copy link
Copy Markdown

Thank you. You save me. Wonder why brew skips that step...

@crcastle
Copy link
Copy Markdown

I made two small changes to the path used for the symlink operation. I think this is safer as it's agnostic to the version number of ntfs-3g: https://gist.github.com/crcastle/5aa97cbce28bf3ff5d1a/revisions

@mustangore
Copy link
Copy Markdown

Thanks, you made my day! ;)

@medoix
Copy link
Copy Markdown

medoix commented Jun 13, 2015

:(
Error: No available formula for ntfs-3g

@jasonzeeee
Copy link
Copy Markdown

I'm getting the same error as @medoix

double sad.

@sibte
Copy link
Copy Markdown

sibte commented Jun 17, 2015

try
brew install Caskroom/cask/osxfuse
then
brew install homebrew/fuse/ntfs-3g

@telemakhos
Copy link
Copy Markdown

Edit: working with sibte's solution

@dowsanjack
Copy link
Copy Markdown

After I did this, my drive does not show up anywhere? :(

@nascimento
Copy link
Copy Markdown

brew install homebrew/fuse/ntfs-3g

@jmarceli
Copy link
Copy Markdown

Because of Homebrew/legacy-homebrew#33298 the brew install Caskroom/cask/osxfuse step suggested by @sibte is probably required on Yosemite. What is more you HAVE TO use version agnostic symlinking provided by @crcastle https://gist.github.com/crcastle/5aa97cbce28bf3ff5d1a because current ntfs-3g version (at the time of writing this) is 2015.3.14 not 2014.2.15 (hard coded in this gist)

I experienced "not show up" bug when I didn't restart my OS after making changes (changing symlink).

@oscarlgarcia
Copy link
Copy Markdown

Doesn't work

@oscarlgarcia
Copy link
Copy Markdown

Update:
I finally write files in my ntfs drive doing a few steps after brew install homebrew/fuse/ntfs-3g
sudo nvram boot-args="rootless=0"
[reboot]
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs
sudo nvram boot-args="rootless=1"
[reboot]

@sagunms
Copy link
Copy Markdown

sagunms commented Aug 11, 2015

After several unsuccessful attempts, my NTFS hard disk R/W works. This is summarising the above steps.
Note: use of --force may not be necessary for you. Also, I don't think sudo nvram boot-args="rootless=0" method really worked.

Uninstall via Brew

brew uninstall --force osxfuse
brew uninstall --force ntfs-3g

Uninstall via System Preferences
In System Preferences I could still see FUSE for OSX and NTFS-3G icons. So I went inside and manually removed each (by clicking Remove OSXFUSE button for example).

Installation steps

brew update
brew install Caskroom/cask/osxfuse --force
brew install homebrew/fuse/ntfs-3g

Link mount_ntfs

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original

Note: Output of installing ntfs-3g was: /usr/local/Cellar/ntfs-3g/2015.3.14: 87 files, 2.0M, built in 27 seconds, so the symbolic link was set as follows:

sudo ln -s /usr/local/Cellar/ntfs-3g/2015.3.14/sbin/mount_ntfs /sbin/mount_ntfs

Reboot mac:

sudo reboot

Worked for me! Thanks everyone!

@lankesh
Copy link
Copy Markdown

lankesh commented Sep 19, 2015

There is one problem that I am facing, the name of the mounted directory keeps on adding incremental numbers and the old directory is not deleted

Say my external HD's label is "WD HD" then when I mount it for the first time it says "WD HD".
But when I unmount it and re-mount it then the label changes to "WD HD 1" and the old label is still there in "/Volumes".

Any idea on how to fix this?

@nvcken
Copy link
Copy Markdown

nvcken commented Sep 22, 2015

Hi all, Has any way to add option format "Windows NT System" to erase action in Disk Utility.

@capthy
Copy link
Copy Markdown

capthy commented Sep 30, 2015

@lankesh install the latest osxfuse 3.0.6 dmg works for me.
More details here: macfuse/macfuse#119 (comment)

brew cask uninstall osxfuse
brew uninstall homebrew/fuse/ntfs-3g
# install osxfuse 3.0.6 dmg
brew install homebrew/fuse/ntfs-3g
# check the symlink is still there:
ls -al /sbin/mount_ntfs
 /sbin/mount_ntfs -> /usr/local/sbin/mount_ntfs

ls -al  /usr/local/sbin/mount_ntfs
/usr/local/sbin/mount_ntfs -> ../Cellar/ntfs-3g/2015.3.14/sbin/mount_ntfs

@Johnny0405
Copy link
Copy Markdown

Hey,
everything worked for me, but when i try
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
it says Operation Not Permitted

@rezaprima
Copy link
Copy Markdown

@Johnny0405
Copy link
Copy Markdown

@rezaprima you mean i should install the osxfuse 3.0.6 dmg?
Sorry, but i'm not an expert....

@Johnny0405
Copy link
Copy Markdown

Solved Problem:
I Had to disable SIP in recovery after that, it works.

Copy link
Copy Markdown

ghost commented May 26, 2016

Thanks, this worked. My instructions at this date were slightly different.

Using OS X El Capitan 10.11.5 (15F34)

  1. brew install Caskroom/cask/osxfuse
  2. brew update && brew install ntfs-3g
  3. Rebooted and pressed Command + R, then from Terminal, ran csrutil disable
  4. sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
  5. sudo ln -s /usr/local/Cellar/ntfs-3g/2016.2.22/sbin/mount_ntfs /sbin/mount_ntfs
  6. Verified with ls -l /sbin/mount_ntfs*

@mariotacke
Copy link
Copy Markdown

The same works on macOS Sierra. Make sure to run steps 4+ in regular macOS.

@svnp10
Copy link
Copy Markdown

svnp10 commented May 23, 2017

@sindhus instructions - change step 5 to 'sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs' worked for for MacOS Sierra

@braian87b
Copy link
Copy Markdown

any news on this for mojave shit ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment