系统城装机大师 - 固镇县祥瑞电脑科技销售部宣传站!

当前位置:首页 > 系统教程 > 其它教程 > 详细页面

Mac支持NTFS文件系统读写

时间:2020-08-19来源:www.pcxitongcheng.com作者:电脑系统城

目录

  • 免费便捷方案--Mounty

  • 借助ntfs-3g开源软件

一、使用Mounty

1.安装(https://mounty.app/)

brew cask install mounty

2.风险

My USB stick will not re-mount. An alert is popping up telling me to re-attach the stick, but this doesn't help.

This can happen when the USB stick is not cleanly unmounted from the Windows PC. If you simply unplug the USB stick from PC without using the little tray icon to detach the hardware correctly, the volume will be marked as "not cleanly unmounted". There might be some dirty sectors left and Mac OS X will not be able to re-mount in read-write mode for that reason.

Suddenly all my files disappeared - please help!(所有的文件都找不到了!)

This is usually happen when not all files are written properly due to an unmount operation not finishing. The NTFS partition might be marked as "dirty" and the Apple NTFS driver cannot recover from that situation. Mounty will not delete anything by itself, please try to restore your files on a Windows PC using usual recovery s/w, i.e. chkdsk command line utility or professional tools like GetDataBack for Windows. If you do not own any Windows you can use tools for macOS that can deal with NTFS partition maintenance, like Paraogn Harddisk Manager or Tuxera Disk Manager.

Sometimes the files are grayed out and cannot be modified anymore.

This is because the file has extended attributes, refer to the Manpage of xattr for further explanation. If you open the file path in terminal application, you can list the attributes with ls -l@ <filename>, and remove those attributes with xattr -d com-apple.<attribute> <filename>, i.e.: xattr -d com.apple.FinderInfo testfile.txt

Unable to re-mount in read/write mode when trying to mount Windows 10 partition

If you try to mount a Windows System partition, Mounty might fail when Hibernation feature is enabled. There is a Fast Start feature in Windows which might be enabled by default, and this is causing the drive to be locked. Within Windows running, you need to run the command powercfg /hibernate off in an admin powershell and restart Windows to disable this feature and remove the lock to enable it for Mounty. Thanks to Art Schultz pointing that out.

二、使用ntfs-3g开源软件

1.安装FUSE for macOS

https://github.com/osxfuse/osxfuse/releases

2.通过homebrew安装ntfs-3g

brew install ntfs-3g

3.在恢复模式下禁用System Integrity Protection(系统完整性保护)

①进入恢复模式。重启电脑,同时按下command+R

②在恢复模式下打开terminal,输入『csrutil disable』,禁用System Integrity Protection

4.重启电脑,重新挂载根目录,使得系统关键目录可写

挂在命令:sudo mount -uw /

5.备份原来的mount_ntfs命令,同时创建软链接指向ntfs-3g命令

备份原来的命令:sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.original

创建软链接指向ntfs-3g:sudo ln -s /usr/local/sbin/mount_ntfs /sbin/mount_ntfs

6.重新进入恢复模式开启System Integrity Protection(系统完整性保护)

①进入恢复模式。重启电脑,同时按下command+R

②在恢复模式下打开terminal,输入『csrutil enable』,开启System Integrity Protection

操作完之后就可以进行ntfs文件系统的读写了

注意:更新系统会导致失效,需要重新进行一次操作!!!

分享到:

相关信息

  • ThinkPad蓝牙鼠标如何配对

    ThinkPad蓝牙鼠标如何配对解答步骤41U5008鼠标驱动官网地址: https://support.lenovo.com/en_US/downloads/detail.page?&LegacyDocID=MIGR-67201 第一种方式是比较传统的:使...

    2024-04-11

  • USB接口无法识别设备的解决方法

    故障现象: USB设备U盘、移动硬盘等插入后提示无法识别的设备,确认设备本身正常,设备可加电,或插入设备后加电但无任何反应,无法使用。新型号机器多表现为黄色USB接口存在此问题,...

    2024-04-11

系统教程栏目

栏目热门教程

人气教程排行

站长推荐

热门系统下载