Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac OS X Forums > Mac OS X
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 12, 2009, 06:21 PM   #1
Chrysaor
macrumors regular
 
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.
__________________
Dell XPS M1530 - Mac OS X Snow Leopard / Windows 7

Last edited by Chrysaor : Jan 19, 2010 at 12:05 PM.
Chrysaor is offline   Reply With Quote
Old Sep 12, 2009, 06:44 PM   #2
cjmillsnun
macrumors 6502a
 
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
__________________
MacBook 5,2 2.0 GHz, 2GB, 250GB, OSX 10.6.2; iPhone 3g 8 GB;
27" iMac C2D 3,06 GHz, 4GB, 1TB, OSX 10.6.2; iPod 5g 30GB;
MacBook 5,2 2.0 GHz, 2GB, 120GB, OSX 10.6.2
cjmillsnun is offline   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.
Send a message via AIM to KingYaba
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.
42 Reasons Why Netbooks Are Better Than the Apple iPad
KingYaba is offline   Reply With Quote
Old Sep 13, 2009, 02:19 PM   #4
Chrysaor
Thread Starter
macrumors regular
 
Join Date: May 2006
Should be like this:



Alternatively, you can get it from Disk Utility.app,
__________________
Dell XPS M1530 - Mac OS X Snow Leopard / Windows 7
Chrysaor is offline   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.
Send a message via AIM to KingYaba
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:	1948
Size:	325.2 KB
ID:	194226  Click image for larger version

Name:	Screen shot 2009-09-13 at 2.42.21 PM.png
Views:	607
Size:	18.7 KB
ID:	194227  

__________________
Texas: illegally acquired; universally admired.
42 Reasons Why Netbooks Are Better Than the Apple iPad

Last edited by KingYaba : Sep 17, 2009 at 04:31 PM. Reason: minor detail added
KingYaba is offline   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   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   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?
__________________
Maybe Motorola got some inspiration from the ad in my avatar.
Shake 'n' Bake is offline   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   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.
__________________
Maybe Motorola got some inspiration from the ad in my avatar.
Shake 'n' Bake is offline   Reply With Quote
Old Sep 13, 2009, 07:41 PM   #11
SnowLeopard2008
macrumors 68040
 
SnowLeopard2008's Avatar
 
Join Date: Jul 2008
Location: California
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.
__________________
YouTube|twitter|WordPress
SnowLeopard2008 is offline   Reply With Quote
Old Sep 13, 2009, 07:51 PM   #12
Chrysaor
Thread Starter
macrumors regular
 
Join Date: May 2006
Updated the first post with LABEL, didn't realize some disks may not have one.
__________________
Dell XPS M1530 - Mac OS X Snow Leopard / Windows 7
Chrysaor is offline   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!
__________________
Maybe Motorola got some inspiration from the ad in my avatar.
Shake 'n' Bake is offline   Reply With Quote
Old Sep 13, 2009, 10:25 PM   #14
occamsrazor
macrumors regular
 
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 15" 2009/2.66Ghz - Mac Mini 2009/2.26Ghz
Mac Mini PPC/1.42Ghz - Quicksilver G4/933Mhz
occamsrazor is offline   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   Reply With Quote
Old Sep 13, 2009, 10:45 PM   #16
PurrBall
macrumors 6502
 
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?
__________________
Website
iMac 24" / 2.93 GHz C2D / 4 GB RAM / 640 GB HDD / GeForce GT 120
iMac G4 15" / 800 MHz G4 / 768 MB RAM / 60 GB HDD
iPod touch 8gb
PurrBall is offline   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   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   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   Reply With Quote
Old Sep 14, 2009, 01:56 AM   #20
Tex-Twil
macrumors 68000
 
Tex-Twil's Avatar
 
Join Date: May 2008
Location: Europe
wow so is this a real native RW NTFS support ??
__________________
Waiting for Arrandale MBP
iPhone 3GS - 16 GB
Tex-Twil is offline   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   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   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   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   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.
Send a message via AIM to KingYaba
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.
42 Reasons Why Netbooks Are Better Than the Apple iPad
KingYaba is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac OS X Forums > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:22 PM.

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

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC