Skip to content

Instantly share code, notes, and snippets.

@lopezjurip
Last active September 10, 2023 06:27
Show Gist options
  • Save lopezjurip/8bca2f20b140150f1cbd to your computer and use it in GitHub Desktop.
Save lopezjurip/8bca2f20b140150f1cbd to your computer and use it in GitHub Desktop.
Write to NTFS on OSX Yosemite and El Capitan

OUTDATED, see comments below

Install Homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Update Homebrew formulae:

brew update

Install Homebrew Cask

brew install caskroom/cask/brew-cask

Install osxfuse

brew cask install osxfuse

Install ntfs-3g

brew install homebrew/fuse/ntfs-3g

If you are on OSX 10.11 (El Capitan)

sudo nvram boot-args="rootless=0"

And reboot.

Create a symlink for mount_ntfs

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original 
sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs

Based on: http://apple.stackexchange.com/questions/152661/write-to-ntfs-formated-drives-on-yosemite

@lfilho
Copy link

lfilho commented Oct 25, 2015

Coming here to to state that installing osxfuse from their github and not from brew did the trick for me.
Also, the nvram part was indeed unnecessary.

PS: I'm on El Capitan

@func0der
Copy link

The problem I have currently is that the drives do not show up in the Finder.

I have installed OSXFuse over their site and have now the newest version (2.8.2).
I have installed ntfs-3g via brew and can now write to the external NTFS partition if I go to /Volumes/MY_DRIVE_NAME

But the drive does not show up on the desktop nor does it show up in the Finder sidebar.

@anaxonda
Copy link

I have the same problem as @func0der. Running the newest version of OSXFuse, and can access the drive via /volumes, however doesn't show up in finder or the desktop.

@trkaplan
Copy link

I use El capitan 10.11.1.
I followed the instructions, before creating a symlink for mount_ntfs, I disabled SIP, and after creating symlink I re-enabled SIP. But no success. I can't write to a NTFS formatted external disk.

@bfleischer
Copy link

@gwild I solved that issue by downloading the latest version of osxfuse from github
https://github.com/osxfuse/osxfuse/releases
Install it using the dmg, brew has an old version qith a bug.

@mforce This is not a bug in osxfuse 2.x. Replacing /sbin/mount_ntfs with /usr/local/sbin/mount_ntfs is basically a hack. If the NTFS-3G version of mount_ntfs was written properly there would be no issues with osxfuse 2.x. After all this is a NTFS-3G issue. In osxfuse 3.x the whole mount process has changed and works around NTFS-3G's shortcomings.

@Coeur
Copy link

Coeur commented Oct 30, 2015

I've made a fork of this gist that addresses all issues from El Capitan: https://gist.github.com/Coeur/86a18b646a3b78930cf3

Mostly:

  • You need osxfuse 3.0.x and not osxfuse from brew
  • You need to disable System Integrity Protection and not Rootless

@zhelezoglo
Copy link

@func0der, @anaxonda have you resolved that problem?
I have the same: after executing all the steps I can write to external hdd but it doesn't appear in Finder sidebar((

@m-brochu
Copy link

I have the same problem as @gwild . Everytime, my drive becomes MYDRIVE 1, MYDRIVE2, and it takes longer to appears than before. Any way to fix this? (I tried @mforce solution but it didn't work for me). Thanks!

@stobenski
Copy link

@Imakiel what version of osxfuse do you use? I just installed osxfuse 3.0.9 dmg from releases page and everything works fine.

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