Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 12, 2009, 06:21 PM   #1
Chrysaor
macrumors 6502
 
Join Date: May 2006
Guide: Enable native NTFS Read/Write in Snow Leopard

This is experimental, and known to be unstable, use at your own risk.

I am sure many of you heard that Snow Leopard was supposed to have native read/write for NTFS partitions. Apple supported NTFS R/W in older SL builds but I guess decided to not to go with it for some reason, however support is still present.
For this, you need to modify your /etc/fstab file to mount NTFS partitions for read and write.

First, uninstall NTFS-3G/Paragon if installed.
Open Terminal.app (/Applications/Utilities/Terminal)
Type "diskutil info /Volumes/volume_name" and copy the Volume UUID (bunch of numbers).
Backup /etc/fstab if you have it, shouldn't be there in a default install.
Type "sudo nano /etc/fstab".
Type in "UUID=paste_the_uuid_here none ntfs rw" or "LABEL=volume_name none ntfs rw" (if you don't have UUID for the disk).
Repeat for other NTFS partitions.
Save the file (ctrl-x then y) and restart your system.

After reboot, NTFS partitions should natively have read and write support. This works in both 32 and 64-bit kernels. Support is quite good and fast, it even recognizes file attributes such as hidden files.


Alternative Method by iBlacky:
Rename the original /sbin/mount_ntfs tool:

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig

Create a script like this:

#!/bin/sh
/sbin/mount_ntfs.orig -o rw "$@“

save the script to /sbin/mount_ntfs

sudo chown root:wheel /sbin/mount_ntfs
sudo chmod 755 /sbin/mount_ntfs

Enjoy R/W access to NTFS volumes...

In case you don't like it

sudo mv /sbin/mount_ntfs.orig /sbin/mount_ntfs

and everything is back to R/O.

Last edited by Chrysaor; Jan 19, 2010 at 12:05 PM.
Chrysaor is offline   0 Reply With Quote
Old Sep 12, 2009, 06:44 PM   #2
cjmillsnun
macrumors 68020
 
Join Date: Aug 2009
Quote:
Originally Posted by Chrysaor View Post
I am sure many of you heard that Snow Leopard was supposed to have native read/write for NTFS partitions. Apple supported NTFS R/W in older SL builds but I guess decided to not to go with it for some reason, however support is still present.
For this, you need to modify your /etc/fstab file to mount NTFS partitions for read and write.

First, uninstall NTFS-3G/Paragon if installed.
Open Terminal.app (/Applications/Utilities/Terminal)
Type "diskutil info /Volumes/volume_name" and copy the Volume UUID (bunch of numbers).
Backup /etc/fstab if you have it, shouldn't be there in a default install.
Type "sudo nano /etc/fstab".
Type in "UUID=paste_the_uuid_here none ntfs rw".
Repeat for other NTFS partitions.
Save the file and restart your system.

After reboot, NTFS partitions should natively have read and write support. This works in both 32 and 64-bit kernels. Support is quite good and fast, it even recognizes file attributes such as hidden files.
Am about to install Boot Camp in SL. Thank you for the tip
__________________
Mid '14 rMBP 15" 2.8 GHz, 16 GB RAM, 1 TB SSD; iPhone 5S 16GB
cjmillsnun is offline   0 Reply With Quote
Old Sep 13, 2009, 01:52 PM   #3
KingYaba
macrumors 68040
 
KingYaba's Avatar
 
Join Date: Aug 2005
Location: Up the irons
Quote:
Originally Posted by Chrysaor View Post
and copy the Volume UUID (bunch of numbers).
? I'm not seeing this number sequence.
__________________
Texas: illegally acquired; universally admired.
KingYaba is offline   0 Reply With Quote
Old Sep 13, 2009, 02:19 PM   #4
Chrysaor
Thread Starter
macrumors 6502
 
Join Date: May 2006
Should be like this:



Alternatively, you can get it from Disk Utility.app,
Chrysaor is offline   0 Reply With Quote
Old Sep 13, 2009, 03:46 PM   #5
KingYaba
macrumors 68040
 
KingYaba's Avatar
 
Join Date: Aug 2005
Location: Up the irons
Just a note. You need to create the fstab file for my instructions to work. Use that sudo nano command Chrysaor wrote down in the first post. Try typing LABEL= this time.

Thanks for your help Chrysaor I would have never known Snow Leopard could do this was it not for your thread. I (finally) got this working albeit a different and probably more dangerous way...

1. opened terminal and typed
Code:
open /private/
2. gave myself read/write permissions the manual way for private, etc, and the fstab file (see attachment) by highlighting each folder and file and then pressing command I

3. typed
Code:
LABEL=Erebus none ntfs rw
were Erebus is the name of my bootcamp partition and then saved the fstab file.

4. rebooted.
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2009-09-13 at 2.41.07 PM.png
Views:	6210
Size:	325.2 KB
ID:	194226   Click image for larger version

Name:	Screen shot 2009-09-13 at 2.42.21 PM.png
Views:	2061
Size:	18.7 KB
ID:	194227  
__________________
Texas: illegally acquired; universally admired.

Last edited by KingYaba; Sep 17, 2009 at 04:31 PM. Reason: minor detail added
KingYaba is offline   -1 Reply With Quote
Old Sep 13, 2009, 03:51 PM   #6
capflya
macrumors newbie
 
Join Date: Sep 2009
This works great, but I can't seem to find the UUID for my flash drive? Maybe I'm looking for something that doesn't exist?

Any help would be appreciated. This tip works great for the bootcamp partition but without full access to my flash drives that are NTFS it leaves more to be desired.

Thanks!

-David
__________________
15" MacBook Pro, 2.8ghz, 4gb ram, 320gb HD - Snow Leopard 10.6 in 64bit default + Windows 7 64bit dual boot
32gb 2nd Gen iPod Touch
capflya is offline   0 Reply With Quote
Old Sep 13, 2009, 04:00 PM   #7
capflya
macrumors newbie
 
Join Date: Sep 2009
Just plugged in my external HD that is NTFS and it works. It has a UUID so I guess maybe flash drives do not have a UUID?

I wonder if KingYaba's method would work for flash drives? I may try this if I can not find the information about flash media that I need....


EDIT: I tried using "LABEL=" and the drive name in my case it was a kingston flash drive I have not renamed yet. so I did "LABEL=KINGSTON none ntfs rw" and saved the file. Rebooted and it works now. So I guess if there is not a UUID just use LABEL and the drive name and that should work. Tested and I was able to write a file to the drive. Thanks for the inspiration!
__________________
15" MacBook Pro, 2.8ghz, 4gb ram, 320gb HD - Snow Leopard 10.6 in 64bit default + Windows 7 64bit dual boot
32gb 2nd Gen iPod Touch

Last edited by capflya; Sep 13, 2009 at 04:07 PM.
capflya is offline   0 Reply With Quote
Old Sep 13, 2009, 04:32 PM   #8
Shake 'n' Bake
macrumors 68020
 
Shake 'n' Bake's Avatar
 
Join Date: Mar 2009
Location: Albany
How do I save the file?
__________________
Mid-'07 2 GHz Mac mini (10.6.6), Dell Studio 540 C2Q (W7), Samsung N130 (Natty), Dimension 4300s inside a 4400 case (Natty)
Check out my blog!
Shake 'n' Bake is offline   0 Reply With Quote
Old Sep 13, 2009, 05:11 PM   #9
capflya
macrumors newbie
 
Join Date: Sep 2009
Quote:
Originally Posted by Shake 'n' Bake View Post
How do I save the file?

On the bottom of the terminal window you can see the command list...

To quit nano you type ctrl + x

It will then ask if you want to save. Type in "y" (without quotes) and hit enter.

Then it will confirm the filename to save so you can just hit enter one more time and then it's saved.
__________________
15" MacBook Pro, 2.8ghz, 4gb ram, 320gb HD - Snow Leopard 10.6 in 64bit default + Windows 7 64bit dual boot
32gb 2nd Gen iPod Touch
capflya is offline   0 Reply With Quote
Old Sep 13, 2009, 06:42 PM   #10
Shake 'n' Bake
macrumors 68020
 
Shake 'n' Bake's Avatar
 
Join Date: Mar 2009
Location: Albany
Thanks. Now I just need to reboot, which, for me, is rarely.
__________________
Mid-'07 2 GHz Mac mini (10.6.6), Dell Studio 540 C2Q (W7), Samsung N130 (Natty), Dimension 4300s inside a 4400 case (Natty)
Check out my blog!
Shake 'n' Bake is offline   0 Reply With Quote
Old Sep 13, 2009, 07:41 PM   #11
SnowLeopard2008
macrumors 604
 
SnowLeopard2008's Avatar
 
Join Date: Jul 2008
Location: Silicon Valley
Send a message via AIM to SnowLeopard2008
Nice find, I think this should be made into a sticky or incorporated into the SL tips/tricks sticky.
__________________
Mac Pro | Thunderbolt Display | iPhone 6 | iPad Air 2 | Apple TV | AirPort Extreme
SnowLeopard2008 is offline   0 Reply With Quote
Old Sep 13, 2009, 07:51 PM   #12
Chrysaor
Thread Starter
macrumors 6502
 
Join Date: May 2006
Updated the first post with LABEL, didn't realize some disks may not have one.
Chrysaor is offline   0 Reply With Quote
Old Sep 13, 2009, 10:20 PM   #13
Shake 'n' Bake
macrumors 68020
 
Shake 'n' Bake's Avatar
 
Join Date: Mar 2009
Location: Albany
Works perfectly. Thanks for the tip!
__________________
Mid-'07 2 GHz Mac mini (10.6.6), Dell Studio 540 C2Q (W7), Samsung N130 (Natty), Dimension 4300s inside a 4400 case (Natty)
Check out my blog!
Shake 'n' Bake is offline   0 Reply With Quote
Old Sep 13, 2009, 10:25 PM   #14
occamsrazor
macrumors 6502
 
Join Date: Feb 2007
Great tip... I wonder if someone with the knowhow might turn it into a preference pane etc... makes you wonder why Apple didn't do something with it.
__________________
MacBook Pro 13" 2.9Ghz i7
MacBook Pro 13" 2.26Ghz C2D
Mac Mini 2009/2.26Ghz, Mac Mini PPC/1.42Ghz
iPhone 5S, 4S
occamsrazor is offline   0 Reply With Quote
Old Sep 13, 2009, 10:38 PM   #15
macfanboy
macrumors 6502a
 
Join Date: Jun 2007
didnt work for me with the UUID.

i will try the LABEL method this time

EDIT: ive tried multiple times with both methods, but neither works...

ill keep trying, though... this will let me share itunes btwn boot camp and mac os x!!

EDIT2: this is my line in fstab

UUID=4161BE66-95D9-4776-AD13-01A5F5D37C29 none ntfs rw

anything wrong?

EDIT3: theres another file named fstab.hd. is this the one that should be edited?

Last edited by macfanboy; Sep 13, 2009 at 10:57 PM.
macfanboy is offline   0 Reply With Quote
Old Sep 13, 2009, 10:45 PM   #16
PurrBall
macrumors 6502a
 
Join Date: Oct 2007
Location: Maine
Send a message via MSN to PurrBall
Interesting, I wonder if this was disabled by default because of licensing issues?
__________________
iMac 24" 2.93 GHz C2D | MacBook Pro 15" 2.2 GHz i7 | iPad Air 16 GB | iPhone 5s 32 GB
PurrBall is offline   0 Reply With Quote
Old Sep 13, 2009, 11:01 PM   #17
capflya
macrumors newbie
 
Join Date: Sep 2009
Quote:
Originally Posted by macfanboy View Post
didnt work for me with the UUID.

i will try the LABEL method this time

EDIT: ive tried multiple times with both methods, but neither works...

ill keep trying, though... this will let me share itunes btwn boot camp and mac os x!!

EDIT2: this is my line in fstab

UUID=4161BE66-95D9-4776-AD13-01A5F5D37C29 none ntfs rw

anything wrong?

EDIT3: theres another file named fstab.hd. is this the one that should be edited?

Not sure what you mean by another file named fstab.hd?

If you go into /etc/fstab from terminal it should find and edit the correct file.
__________________
15" MacBook Pro, 2.8ghz, 4gb ram, 320gb HD - Snow Leopard 10.6 in 64bit default + Windows 7 64bit dual boot
32gb 2nd Gen iPod Touch
capflya is offline   0 Reply With Quote
Old Sep 13, 2009, 11:03 PM   #18
macfanboy
macrumors 6502a
 
Join Date: Jun 2007
oddly, after about 3 or 4 restarts (with my fstab file staying the same), it said i could write now
macfanboy is offline   0 Reply With Quote
Old Sep 13, 2009, 11:28 PM   #19
capflya
macrumors newbie
 
Join Date: Sep 2009
At least it works!

P.S. Working on a script to do this automatically... all you will need to do is enter the drive label... hope this will help some people out...


-David
__________________
15" MacBook Pro, 2.8ghz, 4gb ram, 320gb HD - Snow Leopard 10.6 in 64bit default + Windows 7 64bit dual boot
32gb 2nd Gen iPod Touch
capflya is offline   0 Reply With Quote
Old Sep 14, 2009, 01:56 AM   #20
Tex-Twil
macrumors 68020
 
Tex-Twil's Avatar
 
Join Date: May 2008
Location: Europe
wow so is this a real native RW NTFS support ??
Tex-Twil is offline   0 Reply With Quote
Old Sep 14, 2009, 02:14 AM   #21
Leo72
macrumors member
 
Join Date: May 2009
Location: Ankara, Turkey
Hooray!
Leo72 is offline   0 Reply With Quote
Old Sep 14, 2009, 02:15 AM   #22
Leo72
macrumors member
 
Join Date: May 2009
Location: Ankara, Turkey
I hope that it won't violate the license
Leo72 is offline   0 Reply With Quote
Old Sep 14, 2009, 02:17 PM   #23
pontiacy
macrumors newbie
 
Join Date: Aug 2009
Thanks for the heads up. It works for me. however, I encountered 2 problems.

1. When I tried to delete a certain folder, it became 0 byte but was still shown in the trash with an error msg (file corrupted or something). It happened before (mainly with folders). But previously, I could go to disk utility - first aid - repair disk to correct this. However, now the 'repaire disc' button is disabled for these NTFS disks.

2. When I tried to save a pdf file in its original place (i.e., replacing the original one) using Acrobat, I suddenly got an error msg, then I found the folder the file was in was empty! (I had over 2GB of files in that folder!)

-------------------
Update: I was able to solve these problems. I used the chkdsk command line utility (in particular, run cmd, then type 'chkdsk K: /X' where K is the drive letter, /X means to unmount it first) to repair the disk under windows. The contents in the folder were intact.

Also, I was able to find and delete the /etc/fstab file eventually, by going to finder-go to folder- '/etc'. After I reinstalled paragon, the repair disk button is clickable again.

Last edited by pontiacy; Sep 15, 2009 at 02:00 PM.
pontiacy is offline   0 Reply With Quote
Old Sep 14, 2009, 05:48 PM   #24
chavanak
macrumors newbie
 
Join Date: Aug 2009
Location: On Earth?
I am getting this in console:
9/14/09 11:43:13 PM com.apple.autofsd[49] automount: Mount for LABEL=Softwares has no path for the directory to mount

I am trying to mount an external drive which has two partitions. My fstab entry is:
LABEL=Software none ntfs rw.
Ca someone tell me what I am doing wrong/
__________________
15" MBP, 2.66 GHz, 8 GB RAM, 750 GB HD ; 32 GB iPod touch 2G ; 32 GB iPhone 3GS
chavanak is offline   0 Reply With Quote
Old Sep 14, 2009, 06:08 PM   #25
KingYaba
macrumors 68040
 
KingYaba's Avatar
 
Join Date: Aug 2005
Location: Up the irons
Quote:
Originally Posted by chavanak View Post
I am getting this in console:
9/14/09 11:43:13 PM com.apple.autofsd[49] automount: Mount for LABEL=Softwares has no path for the directory to mount

I am trying to mount an external drive which has two partitions. My fstab entry is:
LABEL=Software none ntfs rw.
Ca someone tell me what I am doing wrong/
You're missing an s?
__________________
Texas: illegally acquired; universally admired.
KingYaba is offline   -1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
What's the current state of native NTFS read/write MacRaccoon OS X 7 Nov 8, 2013 12:31 PM
Resolved: How to enable native NTFS write in 10.8 Mountain Lion? LinMac OS X 10.8 Mountain Lion 12 May 17, 2013 02:42 AM
native NTFS write? MacRaccoon OS X 10.8 Mountain Lion 4 Feb 21, 2013 06:05 PM
Read and Write NTFS in OS X mbanewuser MacBook Air 5 Dec 20, 2012 01:03 PM
NTFS program to read/write on ML jmfel1926 MacBook Air 3 Aug 26, 2012 07:49 PM

Forum Jump

All times are GMT -5. The time now is 05:58 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC