Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

nobe4 commented Dec 23, 2014

Just perfect :D Thanks a lot !

@jhash

This comment has been minimized.

Copy link

jhash commented Jan 4, 2015

This is great! Thanks a lot

@fiedl

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

sir-brickalot commented Feb 20, 2015

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

@crcastle

This comment has been minimized.

Copy link

crcastle commented May 26, 2015

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

This comment has been minimized.

Copy link

mustangore commented Jun 2, 2015

Thanks, you made my day! ;)

@medoix

This comment has been minimized.

Copy link

medoix commented Jun 13, 2015

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

@jasonzietz

This comment has been minimized.

Copy link

jasonzietz commented Jun 16, 2015

I'm getting the same error as @medoix

double sad.

@sibte

This comment has been minimized.

Copy link

sibte commented Jun 17, 2015

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

@Telemakhos

This comment has been minimized.

Copy link

Telemakhos commented Jun 20, 2015

Edit: working with sibte's solution

@dowsanjack

This comment has been minimized.

Copy link

dowsanjack commented Jun 29, 2015

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

@nascimento

This comment has been minimized.

Copy link

nascimento commented Jul 9, 2015

brew install homebrew/fuse/ntfs-3g

@jmarceli

This comment has been minimized.

Copy link

jmarceli commented Jul 12, 2015

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

This comment has been minimized.

Copy link

oscarlgarcia commented Jul 23, 2015

Doesn't work

@oscarlgarcia

This comment has been minimized.

Copy link

oscarlgarcia commented Jul 23, 2015

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

nvcken commented Sep 22, 2015

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

@capthy

This comment has been minimized.

Copy link

capthy commented Sep 30, 2015

@lankesh install the latest osxfuse 3.0.6 dmg works for me.
More details here: osxfuse/osxfuse#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

This comment has been minimized.

Copy link

Johnny0405 commented Oct 11, 2015

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

@rezaprima

This comment has been minimized.

@Johnny0405

This comment has been minimized.

Copy link

Johnny0405 commented Oct 13, 2015

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

@Johnny0405

This comment has been minimized.

Copy link

Johnny0405 commented Oct 13, 2015

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

@ghost

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

mariotacke commented Feb 1, 2017

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

@svnp10

This comment has been minimized.

Copy link

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

This comment has been minimized.

Copy link

braian87b commented Mar 27, 2019

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
You can’t perform that action at this time.