Read/Write EXT2/EXT3 Volumes on Mac OS X
Wanting to share data on an EXT2 SD Card between Mac OS X and Linux computers, I started looking for way for Mac OS X to recognize EXT2/EXT3 volumes. The most promising solution I found is the fuse-ext2 Open Source software on SourceForge. After installing this software, I tried running it and received the following error message:
dyld: Library not loaded: /usr/local/lib/libfuse.2.dylib
fuse-ext2 requires MacFuse. I did not install MacFuse, because I had installed MacFusion, which installs MacFuse already. But strangely, fuse-ext2 couldn't take advantage of that. After installing MacFuse that I downloaded from Google Code Base, fuse-ext2 ran without any problems. And inserting my EXT2 SD Card causes it to mount automatically--in read-only mode.
Read-only mode is worthless to me. I need read/write mode. But so far, I have been unsuccessfully to auto-mount read/write mode. I tried changing /etc/fstab using vifs, but that either didn't change the read-only behavior or the card doesn't even mount. Does anyone have an idea how to get fuse-ext2 to automatically mount in read/write mode?
One possible solution . . . Somehow, after installing fuse-ext2, the system auto-mounter would call "/System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util" for EXT2 and EXT3 volumes. But I could not find where that script is being called to change behavior. If anyone knows where that is being called, please respond.
"/System/Library/Filesystems/fuse-ext2.fs/fuse-ext2.util" is a self-contained shell script. When you read it you will see that it does a lot of checking of System and disk characteristics, then mounts the volume without any options, ie. read-only.
"/System/Library/Filesystems/fuse-ext2.fs/mount_fuse-ext2" calls fuse-ext2.util with parameters "-m" and "[email protected]". use-ext2.util allegedly uses "-m" to mount, and "M" to force-mount, or "fuse-ext2 -o rw+". There are lines in fuse-ext2.util that say
but simply editing mount_fuse-ext2 to call "-M" causes mount to fail totally, and silently. There are a lot of details logged
It is easy (for moderate values of easy) to unmount your read-only volume,
Then comes the fun of mismatched user ID between OSes preventing you from writing some files...
Thanks for the tip, Peter. I will follow your bread-crumb trail and see if I can find a way. Most likely after I do my taxes, though. ;-)
Need to add option "rw+" to string
I tried your tip, fsqcds, and it's working beautifully!!! Now it auto-mounts as read/write. Thanks.
Thanks fsqcds, a simple fix. Now I no longer get socket time-outs with 2 x 300G disks.
This is excellent..... been suffering and cursing the mac/os x developers for the limited options they give the users of the damn os..... I had all the freedom and all the options when I was still on linux until I switched only to discover the limitation that exist on this side and very little support for the obvious things that everyone is asking daily. This helped me now I can still use my external hard drive without having to format it to something else!
What do I use to edit the "fuse-ext2.util" file? I tried TextEdit, but it won't save it as the original file type(Unix executable?) only a text file. Thanks!
The file belongs to root. You have to use the "sudo" command to edit it. For example: "sudo vi fuse-ext2.util"
I'm completely lost, I thought it could be changed with a text editor. Completely new to OSX. Any way you can send me the edited file or point me to where I can learn to do it?
Yes, you can edit it with a text editor. The "vi" in the command I shown you is a text editor. The problem is that the files belongs to the user "root" (the most privileged user in the system). You can't edit it without being "root". One of the way to be "root" is to use the "sudo" command.
Due to the reason above, there is no point in sending your the edited file, because you won't be able to over-write it, as you are not "root". I suggest you learn about "Terminal", "sudo", "root", and the "vi" text editor, so that you can perform these tasks in the future.
re editing the "fuse-ext2.util"
drag to desktop
worked for me
Thanks for this trick, works like a charm.
Here's a tip Try sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts and use Textedit in Root mode to change the "fuse-ext2.util" OPTION.
How do you make it so it won't mount your /boot partition? :) Nice page... btw much needed...
I tried "fsqcds" tip but no luck. Here is what i see in the log file
Output from mount operation: Did not receive a signal within 5.000000 seconds. Exiting...
Has anybody got this error?
the problem I have fixed,
worked for me.
Did your message disappear? Read the Forums FAQ.
TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
Title: Where is fstab on Mac OS X?
Spam Control | * indicates required field
Messages, files, and images copyright by respective owners.
84 Users Online
Copyright © 2004 - 2020. All Rights Reserved.