Skip to content

Instantly share code, notes, and snippets.

@aint
Forked from bjorgvino/yosemite ntfs read+write.txt
Last active September 22, 2024 15:18
Show Gist options
  • Save aint/05bdbef0a06c3e377ae4 to your computer and use it in GitHub Desktop.
Save aint/05bdbef0a06c3e377ae4 to your computer and use it in GitHub Desktop.
Mac OS X + OSXFuse + NTFS-3G = NTFS R/W
  • Remove osxfuse if installed via homebrew:
brew uninstall osxfuse
  • Install the latest version of "FUSE for OS X" from http://osxfuse.github.io. When installing "FUSE for OS X" make sure to select the "MacFUSE Compatibility Layer" option. MacFUSE Compatibility Layer

  • Reboot (optional but recommended by osxfuse)

  • Install ntfs-3g via homebrew:

brew update && brew install homebrew/fuse/ntfs-3g
  • Link NTFS-3G to the system location:
sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original
sudo ln -s /usr/local/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/201*.*.*/sbin/mount_ntfs
/sbin/mount_ntfs.original -> /System/Library/Filesystems/ntfs.fs/Contents/Resources/mount_ntfs

Uninstallation

  • To unlink NTFS-3G to boot:
sudo nvram boot-args="rootless=0"
[reboot]
sudo rm /sbin/mount_ntfs
sudo mv /sbin/mount_ntfs.original /sbin/mount_ntfs
sudo nvram boot-args="rootless=1"
[reboot]
  • To uninstall NTFS-3G:
brew uninstall ntfs-3g

Links:

https://github.com/osxfuse/osxfuse/wiki/NTFS-3G

https://github.com/osxfuse/osxfuse/wiki/FAQ

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