InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   Unlock NTFS write support in SL (updated on 04/10/09) (http://infinitemac.com/showthread.php?t=4070)

Snow 09-13-2009 03:29 PM

Unlock NTFS write support in SL (updated on 04/10/09)
 
Update 04/10/09

Slic posted a (hopefully) proper solution for enabling read/write support in SL so I'm pasting his info here

Quote:

How to enable built-in support for writing to NTFS, once and forever.

1. Open terminal and type this command:

Code:

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
2. Then open file mount_ntfs with nano editor by typing this command:

Code:

sudo nano /sbin/mount_ntfs
3. Now enter (copy/paste) these 2 lines of text:

Code:

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

4. Press Control + X then Y and Enter for Exit and Save!

5. Type these 2 commands:

Code:

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


Credit to Slic!



Update 03/10/09

I've been using a combination of MacFuse & NTFS-3G lately because the below method seems unstable. Besides the disk check at windows boot it seems to work properly.


This info is used from another forum (and edited by me):

- Open Diskutility, right click windows drive you want write support for and select information, then copy the UUID string

http://h.imagehost.org/0167/RW.png

- Open Terminal.app
- Type
Code:

sudo nano /etc/fstab
- Type in
Code:

UUID=paste_the_uuid_here none ntfs rw
- Repeat for other NTFS partitions.
- Save the file (CTRL + O) name it "fstab" confirm with enter, close (CTRL + X) and restart your system (sudo reboot)

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.

SomniusX 09-13-2009 05:13 PM

OMG.. that is one hell of info..

So it's natively supported.. hm.. and they didn't tell us anything.. arg# :D

mormegil 09-13-2009 05:49 PM

I didn't remove fstab.hd. Just saved as a new file called fstab.

SomniusX 09-13-2009 05:52 PM

Yeah that's one thought, it's a sensitive system file, you could always keep a backup! :)

vladrxpx 09-13-2009 06:31 PM

i donno if this is weird or not, but right after my first boot into snow leopard (right after i installed it) i had ntfs read/write support w/o ntfs-3g and macfuse.. i only did the dsdt patch brefore..

SomniusX 09-13-2009 06:35 PM

Maybe there was a script that did that for you, one of those that create a dsdt maybe? :)

rohizzle121 09-13-2009 07:18 PM

Quote:

Originally Posted by Bloodiator (Post 34713)
Maybe there was a script that did that for you, one of those that create a dsdt maybe? :)

+1
this would be a brilliant idea!

i wish i knew how to create a script! :/

Snow 09-13-2009 07:18 PM

Quote:

Originally Posted by mormegil (Post 34707)
I didn't remove fstab.hd. Just saved as a new file called fstab.

k bud, will edit guide

SomniusX 09-13-2009 07:20 PM

Quote:

Originally Posted by rohizzle121 (Post 34719)
+1
this would be a brilliant idea!

i wish i knew how to create a script! :/

It's easy to create scripts

you just open a text file write the commands you want to run in sequence, save it, chmod it so it can be executable and that's it, just call it from terminal or from inside other scripts..

rohizzle121 09-13-2009 08:43 PM

Quote:

Originally Posted by Bloodiator (Post 34722)
It's easy to create scripts

you just open a text file write the commands you want to run in sequence, save it, chmod it so it can be executable and that's it, just call it from terminal or from inside other scripts..

how i would i like for instance get the UUID of the partition in question?