Skip to content

Instantly share code, notes, and snippets.

@nenkoru
Last active January 10, 2023 09:17
Show Gist options
  • Save nenkoru/095a66f475ed77fc92ca9a544680f5bf to your computer and use it in GitHub Desktop.
Save nenkoru/095a66f475ed77fc92ca9a544680f5bf to your computer and use it in GitHub Desktop.
How to mount NTFS partition in MacOS Ventura | January 2023

How to mount NTFS usb or partition into the MacOS Ventura for free

  1. Install MacFuse

  2. Install ntfs-3g-mac from Brew

brew tap gromgit/homebrew-fuse
brew install ntfs-3g-mac
  1. Get identifier of the disk and partition you need to mount sudo diskutil list

  2. Unmount the disk with all the partitions sudo diskutil unmountDisk /dev/disk<number of the usb stick>

  3. Create a destination "volume" sudo mkdir /Volumes/CCOMAUSB

  4. Mount the partition using ntfs-3g-mac sudo mount_ntfs /dev/disk4s1 /Volumes/CCOMAUSB

Note: It's also possible to mount the whole disk, however I am uncertain of the outcome.

Motivation

I was trying to use the old method with mount -t ntfs, however it didn't work out. Seems like some changes in terms of Ventura's update. So I ended up with two ways:

  1. Use third-party paid application such as Paragon NTFS
  2. Custom solution

Hence, you can see I have gone for the second.

TL;DR

brew tap gromgit/homebrew-fuse
brew install ntfs-3g-mac
sudo diskutil list
sudo diskutil unmountDisk /dev/disk<number of the usb stick>
sudo mkdir /Volumes/CCOMAUSB
sudo mount_ntfs /dev/disk4s1 /Volumes/CCOMAUSB

Inspired by this article

Brought into the power-user's convenience in a gist way.

@nenkoru
Copy link
Author

nenkoru commented Jan 10, 2023

Worth noting is that you can add the commands in a sh function and add it to the .zshrc.
So that you can call that function from anywhere in your terminal with a signature like this:
sudo mntfs disk4s1
And it could automatically generate the name for the 'output' volume, or get one from the partition name from the diskutil.

Same could be for the unmount, but diskutil already allows unmounting the whole disk:
sudo diskutil unmountDisk disk4

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