Help - Search - Members - Calendar
Full Version: NTFS Read/Write Support Finally here!
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4
homer007
Update - 26th Jan 2007

There is no need to do all that mentioned below if you have undo it and just install these packages and your drives will be auto mounted with read/write after you restart!!!!


Ok guys new update use this Uninstaller to uninstall both MacFuse and NTFS-3g then install the new MacFuse + NTFS-3g included in this file click here and enjoy!!!




I will keep updating the packages when the new ones come out!!!



First Download the files below:

MacFUSE DMG Installer

NTFS-3g DMG Installer

Note: Before continuing this process, if you've attemped to install the NTFS package before:
(In Terminal):

CODE
sudo rm -rf /Library/Receipts/NTFS-3g.pkg


Install the two dmg files (macfuse and NTFS-3g)

After installing open terminal and type the following:

CODE
PATH=$PATH:/usr/local/bin

export PATH

sudo ln -s /System/Library/Filesystems/fusefs.fs/mount_fusefs /usr/local/bin/mount_fusefs

sudo ln -s /usr/local/bin/ntfs-3g /usr/bin/ntfs-3g


Note: Before you do the following unmount all the NTFS drivers in Disk Utility


That just ensured that all the files are where they need to be. If you get "file exists"... that's fine!!!

Now that the prep work is done.. let's mount this drive already!!!

In Terminal:

CODE
sudo mkdir /Volumes/"Your Windows Drive"



<Replace "Your Windows Drive with w/e your drive is IN QUOTES.. "Windows XP" "Windows HD" >

Continuing on:

In Terminal (all in one command):

CODE
sudo ntfs-3g /dev/disk0s1 /Volumes/"Your Windows Drive" -o ping_diskarb,volname="Your Windows Drive"


***NOTE*** in the /dev/disk0s1 -- replace this with the location of your Windows Drive, to find it, look in Disk Utility in Applications -> Utilities... and then the properties for your drive. Also, the "Your Windows Drive" is the same we discussed earlier IN QUOTES.


Now here comes the interesting part, now all you have to do is auto mount the partitions every time your Mac restarts!!

to do this do the following:

In terminal type:

CODE
cd /etc

sudo nano fstab


add,

LABEL=NTFSxxx /private/mnt/NTFSxxx ntfs ro,noauto (replace NTFSxxx with real volume name)

close, save and exit

you can add another line like above if you have more then one NTFS Partitions!!

then type in terminal:

CODE
cd /System/Library/StartupItems/Disks/

sudo nano Disks


add after "/sbin/autodiskmount -va"

PATH=$PATH:/usr/local/bin
export PATH
mkdir /Volumes/Storage (you can change storage to wot ever you wanna name your partition)
ntfs-3g /dev/disk2s1 /Volumes/"Storage" -o ping_diskarb,volname="Storage"

Close, save and exit then reboot

If you have more then one ntfs paritions do something like this:

PATH=$PATH:/usr/local/bin
export PATH
mkdir /Volumes/Partition 1 (you can change partition 1 to wot ever you wanna name your partition)
mkdir /Volumes/Partition 2
ntfs-3g /dev/disk0s1 /Volumes/"Partition 1" -o ping_diskarb,volname="Partition 1"
ntfs-3g /dev/disk0s2 /Volumes/"Partition 2" -o ping_diskarb,volname="Partition 2"

close, save, exit and restart

Enjoy!!!!
Telefunken
When going through the steps using Terminal, I can mount a NTFS partition Read/Write, but it shows on the Desktop as a Network drive. Info shows Kind: Volume, Server: afp://Hachintosh.local./User, Format: Unknown (afpfs). The partition does not appear in Disk Utility.

I'd rather have the NTFS partitions auto-mount, so I followed your instructions to the letter.
Now they appear on the Desktop shown as a Disk, but the NTFS partitions are still mounted Read-only. Information from Finder says Format: Windows NT Filesystem.
In Disk Utility I can see the same partitions with format NTFS 3g (FUSE), extended information shows Writable: No Owners Enabled : No and everything below that line No as well.

When reading your instructions again, slowly and thoroughly this time, it occurs to me I mount the partitions Read-only in fstab first (in their native NTFS format) and then re-mount them in NTFS-3g (Read/Write?) later by executing Disks from the StartupItems folder.

What have I done wrong?
What about NTFS permissions? Should I give the NTFS "everyone" user full permissions first in XP?


Thanks.
elromeo
hey this dissapear my HD from the screen what happen
FavleX
..same as Telefunken..the shell says succesful fuse but munt do't found....
..sorry i've posted the same in reader news...
envisioneer
Hi

Just wondering if I could use this to mount my ntfs sata raid (winxp drive)
JaS10.4.8 installed on seperate single PIDE
sees raid as two unreadable drives (have to eject both every startup)
but otherwise all info is correct 2 x Maxtor152.7GB 6Y16OMO SATA Ok etc.
just don't know how/if even poss. to mount as ntfs raid set, disk utility wants to reformat the entire drive!!!

thanks for any help, links to info etc.
U.C.
For all those people like me who just cant get automount to work. I made a simple script.

CODE
tell application "Terminal"
activate
do script "sudo umount /Volumes/Warehouse
PATH=$PATH:/usr/local/bin
export PATH
sudo mkdir /Volumes/Warehouse
wait
sudo ntfs-3g /dev/disk1s8 /Volumes/Warehouse -o ping_diskarb,volname=Warehouse
exit"
end tell


This script very simply makes a directory named Warehouse and mounts it. It will ask you for password and you will have to close it, but it works. Enjoy. No changes required in any files.

Save script as application and add it to your Logon Items or whatever. If required disable automount via fstab and remove the umount line.

This is neither the fastest or best, but rest assured, will get the job done.
avenger
hi im getting this error while trying to install ntfs-3g

you cannot install NTFS-3g on this volume.macfuse_required

i have downloaded mac fuse from googleweb page and installed it
marliwahoo
I really thinks this rocks !

But......

The install needs to be easier. Though the really difficult part has been done, this needs to be packaged so it even an "uncomfortable" command-line guy like me can install this.
macgirl
QUOTE(avenger @ Jan 17 2007, 11:15 AM) *
hi im getting this error while trying to install ntfs-3g

you cannot install NTFS-3g on this volume.macfuse_required

i have downloaded mac fuse from googleweb page and installed it

If you aready installed the MacFUSE package jus install ntfs-3g with Pacifist.
macgirl
MacFUSE/ntfs-3g Volumes are not seen as MOUNTED on Disk Utility, they are mounted as a network volume, that is why the icon is like any other network volume.
avenger
got it ntfs-3g installed......thanx to JAS
avenger
QUOTE(macgirl @ Jan 17 2007, 06:45 PM) *
MacFUSE/ntfs-3g Volumes are not seen as MOUNTED on Disk Utility, they are mounted as a network volume, that is why the icon is like any other network volume.

hey mine also is mounted as network volumes.............. is there a way for it to be mounted as normal disk
its taking time for the disks to be mounted

one more thing wht do i have to write in place of NTFSxxx................here is the screenshot of the desktop and the info of a partition........ i have written disk0s5 in the place of NTFSxxx .......... is it correct????

B612
I carefully followed the guide. Everything went well but the automount.

When I reboot my computer, my NTFS hard disk is not automatically shown, which is good, but then it is not loaded as network, either.

If I want it to be mounted again, I have to type in the Terminal

CODE
sudo mkdir /Volumes/"WinXP Pro"
sudo ntfs-3g /dev/disk0s1 /Volumes/"WinXP Pro" -o ping_diskarb,volname="WinXP Pro"


What is wrong?!?
Any suggestions?
avenger
hey B512 did u entered the entry above mentioned in the cd /System/Library/StartupItems/Disks/Disks file ???????
B612
QUOTE(avenger @ Jan 18 2007, 12:40 PM) *
hey B512 did u entered the entry above mentioned in the cd /System/Library/StartupItems/Disks/Disks file ???????


Yes, I did, but I had the same problem anyway.

In the end I figured out a solution.
I will post it with an updated guide, later (now I have to run!)

Thank you anyway! wink.gif
macgirl
QUOTE(avenger @ Jan 17 2007, 05:55 PM) *
hey mine also is mounted as network volumes.............. is there a way for it to be mounted as normal disk
its taking time for the disks to be mounted

No, there is no way, that's the way Fuse and ntfs-3g work.
marliwahoo
QUOTE(macgirl @ Jan 18 2007, 09:25 PM) *
No, there is no way, that's the way Fuse and ntfs-3g work.




Well - it will still be a network drive but.....

Change the icon to look like a mounted drive. Makes me feel better.
avenger
QUOTE(macgirl @ Jan 18 2007, 09:25 PM) *
No, there is no way, that's the way Fuse and ntfs-3g work.

thanx for reply..... i have one more doubt..when i logoff and loged in the disks are not mounted......how can i make them to mount when i logged in?????
B612
QUOTE(avenger @ Jan 19 2007, 02:31 PM) *
thanx for reply..... i have one more doubt..when i logoff and loged in the disks are not mounted......how can i make them to mount when i logged in?????


I would like to indicate this topic:
http://forum.insanelymac.com/index.php?sho...c=39116&hl=
I hope it helps a bit. wink.gif
ChuckDSanders
Ok so I have both of the DMGs installed and I think I have the drives almost configured correctly. I have 4 hard drives, 3 of which have one contiguous partition, and one of which has 3 partitions. Ok so I have done that, but My CPU is being tapped because it seems the hard drives are constantly accessing. Did I do something incorrectly?


CODE
sudo nano fstabLABEL=moviesndocumentaries /private/mnt/moviesndocumentaries ntf$
LABEL=idiotbox /private/mnt/idiotbox ntfs ro,noauto
LABEL=mydocumentsnmore /private/mnt/mydocumentsnmore ntfs ro,noauto

CODE
#!/bin/sh

##
# Local filesystems
##

. /etc/rc.common

StartService ()
{
if [ ! -f /var/db/volinfo.database ]; then Uninitialized_VSDB=-YES-; fi

echo "Checking disks"
/sbin/autodiskmount -va
PATH=$PATH:/usr/local/bin
export PATH
mkdir /Volumes/TV
ntfs-3g /dev/disk3s1 /Volumes/"idiotbox" -o ping_diskarb,volname="idiotbox"
mkdir /Volumes/MyDocuments
ntfs-3g /dev/disk2s3 /Volumes/"mydocumentsnmore" -o ping_diskarb,volname="mydocumentsnmore"
mkdir /Volumes/Movies
ntfs-3g /dev/disk0s1 /Volumes/"moviesndocumentaries" -o ping_diskarb,volna,e="moviesndocumentaries"
if [ "${Uninitialized_VSDB:=-NO-}" = "-YES-" ]; then
if [ -x /usr/sbin/vsdbutil ]; then
/usr/sbin/vsdbutil -i
fi
fi
}

StopService ()
{
return 0;
}

RestartService ()
{
return 0;
}

RunService "$1"




So what do you think? Any suggestions? CPU at idle is chilling at 33%










GNU nano 1.2.4 File: fstab Modified

sudo nano fstabLABEL=moviesndocumentaries /private/mnt/moviesndocumentaries ntf$
LABEL=idiotbox /private/mnt/idiotbox ntfs ro,noauto
LABEL=mydocumentsnmore /private/mnt/mydocumentsnmore ntfs ro,noauto
















[ Read 3 lines ]
^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos
^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Txt ^T To Spell
homer007
updated see the first post!!!
oldschool
I donīt get my external firewire hdd automounted...
I removed the apple ntfs and installed this release.
The internal drives ntfs parttitions are working correctly.


Rgds.


Fixed: I had to correct the pt via windows... worx now.
Cyman
My drives seem to be automounted even though I didn't type any of the automount commands in Terminal. BTW, the HDD I connected to my MBP is connected via eSATA ExpressCard/34.

@homer007: I don't want to criticize your efforts to post instructions on how to get the whole thing to work, but as I see you just copied all the How-To's from the other related topics and put them here. It would be fine if you could summarize these How-To's with a common structure as all of the previously posted instructions describe things in different ways which makes it a lot harder to follow your guide if you don't split up the different instructions into sections.
jarodsix
OK, tried the newest packages (clean install).

1. installed, rebooted, volumes automount by themselves (no editing of anything) - nice
2. they are as network drives - not nice, trash doesn't work (i.e. "files will be removed immediately, OK Cancel")
3. spotlight stopped working / behaves badly
4. on restart it says "ntfs-3g doesn't respond to SIGTERM" or sth like that. Causes a 10 secs shutdown/restart lag.

Is there a way to set which volumes I want to be mounted read only (e.g. XP partition) as opposed to the default RW (data partition)?
Cyman
Is it possible that I cannot mount the partitions from my second drive as long as I didn't apply the same commands to them? I guess it has something to do with the new NTFS driver replacing the Apple one, so it can't mount them read-only, is this right?
caracols
My NTFS partition is working perfectly on the read+write side. But I've just discovered that creating file bigger than 4gb size may render the system unstable, then after rebooting, that file will be mostly corrupt.

I discovered that by downloading a 6gb torrent directly -with Azureus OS X- into the NTFS partition. In the creation process, system halted after heavy disk activity.

Booting into windows, then doing a CHKDSK on that partition will erase the file then the partition will be useable again on OSX.
jarodsix
QUOTE(caracols @ Jan 22 2007, 11:01 PM) *
My NTFS partition is working perfectly on the read+write side. But I've just discovered that creating file bigger than 4gb size may render the system unstable, then after rebooting, that file will be mostly corrupt.

I discovered that by downloading a 6gb torrent directly -with Azureus OS X- into the NTFS partition. In the creation process, system halted after heavy disk activity.

Booting into windows, then doing a CHKDSK on that partition will erase the file then the partition will be useable again on OSX.


I reported this issue to the macfuse project at http://code.google.com/p/macfuse/issues/de...mp;can=2&q= (see comments)
and they have already done sth with it - going to try now.

QUOTE
As for the 4GB thing, some relevant things were changed in the newest release (MacFUSE Core 0.1.7). Please
upgrade and see if the > 4GB stuff works fine.
ChuckDSanders
Ok it was working, then it started to crap out, then it stopped all together.

Ok, So I have 3 NTFS partitions that I want to share between OSX and shitty P (XP). I installed the dmg files that homer pointed me towards and I restarted and like magic I had access to my drives. Well, after a few restarts one or more the of drives will appear as the others, but upon selecting them to open, it won't do it. Now, the drives don't even show up on the desktop. When I go into disk manager it shows the disks, however I can't open them, nor dismount them because it says there is another program assessing them. I am assuming this is because the NTFS programs is playing with them. Anyone else run into this? Anyone got any ideas to get it working? I have tried uninstalling the NTFS dmg and reinstalling both fuse and the NTFS portion to no avail, and I did remember to remove the old components before hand. I am going to fiddle with it. Off to class I go. Take care and thank you very much smile.gif You'll rock as they say in the south
caracols
Thanks for the info jarodsix! Tried the new MacFUSE and it solved the problem. Also fixed some tiny problems related to the available size the disk was -wrongly- reporting. Cool.
Zoloco
I installed MacFuse and NTFS-3G to access a Western Digital Passport drive (USB-NTFS Formated). Installation went smooth and the drive is mounted on every reboot.

The bad thing is that the transfer speed is sooooo slow, like usb 1.1 or lower slow. Does anybody know if this has been fixed or if there is a way to make a rollback?

If I can't take full advantage, I might as well uninstall it.

BTW... it is a great thing to be able to read/write on NTFS partitions.
homer007
Updated again see the first post!! the new update should resolve alot of problems that you were having!!
equilibriumuk
I just wanted to say thanks for the links smile.gif

I can finally write to my xp disk, share my iTunes library with a symlink and write to my external USB hard drive thumbsup_anim.gif
esquilo22
I can't install the NTFS-3G package. I've installed MacFUSE 0.1.7 fine but when I try to install NTFS-3g 20070116-R4 it can't find MacFUSE on my TIGER disk.

I know MacFUSE is working because I'm able to use SSH and Spotlight file systems.

Any thoughts?

UPDATE

@Homer007,

The NTFS-3g installer is looking for MacFUSE.pkg receipt under /Library/Receipts. But the installer provided by Google generates the "MacFUSE CORE.pkg" receipt.

Please update this for version R5. And thanks for the great work.
syldaril
I have installed both MacFUSE-Core-0.1.7 and NTFS-3G 20070116-r4. Rebooted. However I cannot write to my NTFS partition at all. I get this error message no matter what I try to write to it:
"The item 'xxxx' cannot be copied because there is not enough free space" even though I have around 90GB available. Also all the files on my NTFS partition have a 0kb size. Odd, I hope someone can help me out with this!
I need to mention that I am running OSX and XP on the same drive. OSX on first partition, XP on second.

Syldaril
salax
Hi there,
Has anybody got any idea wether FUSE can mount SFS volumes? (meaning Microsan SFS)
I haven't found any reference to this in documentation as of yet, and by the way, if anyone knows of any other way to support SFS please let me know.
Thanks
U.C.
Thanks Homer, just tried the latest packages. They seem to be better, even though a manual rename is required of receipts.


EDIT: Also small files get written on NTFS but large files (200MB) complain about free space. I think I will go back to older version.
sordos
i can t install NTFS-3G 20070116-r4
when i can instal
i only can in the NTFS partition and they are read only

sorry for my bad english

thx in advance

in spanish

no puedo instalar NTFS-3G 20070116-r4
Tengo inslado el macfuse y cuando quiero instalar NTFS-3G 20070116-r4 la unica opcion que tengo son las particiones ntfs y como son read only no tengo opcion de instalacion
Alguieb sabe la sloucion???
gracias
homer007
another update guys more issues fixed!!!
cyclonefr
still the 0 Kb prob so i have to restart the finder at each boot sad.gif
im using ur package + core 0.17
B612
Has any of you guys tried to read international characters, like Japanese, Russian, etc?

Well, it doesn't work properly, unless we modify the locale setting.
For instance, since I am Italian, I should write
locale=it_IT

The problem is that in this last version of ntfs-3g, I don't know where to write this setting and how to modify it.
Does anybody know it??!?

EDIT: Never-mind, I've done it! smile.gif
ZOleg
QUOTE(B512 @ Jan 28 2007, 06:29 AM) *
Has any of you guys tried to read international characters, like Japanese, Russian, etc?

Well, it doesn't work properly, unless we modify the locale setting.
For instance, since I am Italian, I should write
locale=it_IT

The problem is that in this last version of ntfs-3g, I don't know where to write this setting and how to modify it.
Does anybody know it??!?

EDIT: Never-mind, I've done it! smile.gif

HOW TO?
cljtam
QUOTE(syldaril @ Jan 25 2007, 10:29 AM) *
I have installed both MacFUSE-Core-0.1.7 and NTFS-3G 20070116-r4. Rebooted. However I cannot write to my NTFS partition at all. I get this error message no matter what I try to write to it:
"The item 'xxxx' cannot be copied because there is not enough free space" even though I have around 90GB available. Also all the files on my NTFS partition have a 0kb size. Odd, I hope someone can help me out with this!
I need to mention that I am running OSX and XP on the same drive. OSX on first partition, XP on second.

Syldaril


I have got this prob too...
thy
QUOTE(cljtam @ Jan 28 2007, 02:40 AM) *
I have got this prob too...

QUOTE
"The item 'xxxx' cannot be copied because there is not enough free space" even though I have around 90GB available.


I got this too... sad.gif

and the weird thing is one of my partition didn't mount
B612
QUOTE(ZOleg @ Jan 28 2007, 02:30 AM) *
HOW TO?


Example for Italian:

in Terminal, type:

CODE
echo 'it_IT' > /Volumes/MyNTFSDrive/.ntfs-locale


Of course you replace "MyNTFSDrive" with the name of your Windows HD and it_IT with the locale of your Country.

If you don't know the locale of your Country, in Terminal type

CODE
locale -a

and you'll have a list of all available locales.

That's it! wink.gif
Zodiac
Check: http://code.google.com/p/macfuse/
there's a new version >> MacFUSE Core 0.1.9
i tried it and working fine with other package..
Jeremy King
Can you clean up that first post? You mention the Terminal changes aren't necessary, but you leave them in the first post...So which is it?

Also, your "old" links are dead, I found the files I needed by browsing your iDisk, but not everyone will know to do that. Speaking of which, why am I prompted for a password? I can click Cancel a few times and then see the files, but it was a little annoying.

Edit: Now I just realized the "Click here" link is accurate...In any case, if the old instructions aren't needed, can we delete?
hm_ok
hi!

i read something somewhere that writing (surely not reading) on an xp partition can fck that up, is that a lie? or in the long run maybe...
cyclonefr
still having the 0Kb size bug on my HDD
tested on real mbp and hackintosh
even with 0.19
someone can send me a working bundle?

ps : i have to restart the finder to fix it sad.gif that sux
atomizasser
Hi I have tried install macfuse in my Hackintosh but i don't work. I have followed all guide, i can mount drive and i can see the file system of my NTFS partition, but when i try to copy some files i get "error -36"
WHy? what's my problem?
Thanks a lot
Zodiac
QUOTE(atomizasser @ Jan 29 2007, 10:22 PM) *
Hi I have tried install macfuse in my Hackintosh but i don't work. I have followed all guide, i can mount drive and i can see the file system of my NTFS partition, but when i try to copy some files i get "error -36"
WHy? what's my problem?
Thanks a lot

Every thing was working fine untill today.. i got the same error then i tried everything to fix it but no luck, i hope someone will come with solutions.
here's a pic for the error:

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.