Pages

Sunday, August 15, 2010

Mounting an ext2 or ext3 drive to a MAC

UPDATE 8/19/2010!!! MACFUSE works, but is slow. I hooked a SSD through a USB external. Read speed when connected to a SATA controller are over 200MB/sec. Hooked through USB2.0 to linux over 50MB/sec... USB2.0 to MACFUSE 5MB/sec.

Others report that write access is in MACFUSE is flakey. I'm going with an unjournaled hfsplus for sharing between mac and linux.

Seems to me it should be built in.. But it isn't.

The bottom line as to the easiest way to share a disk between Mac and linux is to use a Mac File system (not journaled). Journaling seems to impair Linux from writing.

http://www.mguhlin.org/2010/01/mounting-linux-formatted-ext3-usb-drive.html

Not exactly true. Mac fuse with ext3 (journaled works fine too) There were a couple of problems that I had to figure out. You must partition the drive.. you cannot format /dev/sda.. it must /dev/sda1... or something like that. Otherwise it only mounts readonly. Further, the automounting only works readonly as well. So if you manually mount then you can have rw access.

http://www.gearhack.com/Forums/DisplayComments.php?file=Computer/Mac%20OS/Read.Write_EXT2.EXT3_Volumes_on_Mac_OS_X

sudo fuse-ext2 -o rw+ /dev/disk1s1 /Users/matt/tmp/

The above link also leads me to believe that I can automount rw... still need to experiment.

http://code.google.com/p/macfuse/
http://sourceforge.net/projects/fuse-ext2/
sudo ./fuse-ext2 /dev/disk1s2 /Volumes/journeyer/ -o force

No comments:

Post a Comment