Skip to content

Instantly share code, notes, and snippets.

@xrq-phys
Forked from takeit/INSTALL.md
Last active August 6, 2024 07:58
Show Gist options
  • Save xrq-phys/40879e88b7ce58b6dbc227903eea0d77 to your computer and use it in GitHub Desktop.
Save xrq-phys/40879e88b7ce58b6dbc227903eea0d77 to your computer and use it in GitHub Desktop.
macFUSE + NTFS-3G still supported on macOS 14.5 + M-series chip!

This guide is intended to provide a OSS-based solution for enabling NTFS read+write access on modern macOS. In the meantime, I see some commercial and semi-commercial solutions for NTFS on mac. Some of them are excellent, others might have a debatable reputation. Discretion is stronly adviced there.

本说明旨在介绍一个在现代macOS平台(包括M1/M2等新架构和Intel老架构mac电脑)上可用的NTFS读写模式的挂载方案。 该方案拷贝自 takeit/INSTALL.md,当时在macOS Sierra上可用使用但作者述说需要关闭SIP。本文经测试该方案实有不影响SIP的用法。

NTFS for macOS的商业或半商业的解决方案较为鱼龙混杂,亦存在部分组织误导用户认为「只有少数解决方案能支持最新系统架构」。实际上,macFUSE至今仍被维护,ntfs-3g也仍然可用(编译很快)。希望大家仔细甄别。

1. Install macFUSE:

Install from their website (link above). No longer available on homebrew.

2. Follow the instructions enabling the system extensions

One simple way is to install SSHFS from the same website and try to mount any server to a local directory:

sshfs user@remote_host:/path/to/remote_directory ~/remote_mount

3. Compile ntfs-3g

Prerequisites:

brew install automake autoconf libtool libgcrypt pkg-config

Clone & build:

git clone https://github.com/tuxera/ntfs-3g.git && cd ntfs-3g
./autogen.sh # Ignore the Command Line Tools installation prompt if you have already installed.
./configure
make -j8

4. Usage

NO NEED to disable SIP if you don't intend to do advanced tricks like mount at boot. Basic functionality is available without installing:

# Mount an NTFS volume
sudo ntfs-3g /dev/disk4s1 ~/ntfs_mount
# Finished processing. Unmount
sudo umount ~/ntfs_mount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment