Accessing EXT2 data from Mac OS/X - works on Snow Leopard (partially)
SWMBO and "The Gentlemen" use Macs at home. I got a bunch of disks formatted with EXT3 and EXT4 wich they also want to access, so I went out to research the topic. The EXT file systems have the unique feature to be backwards compatible. So a driver written to access EXT2 will still be able to access an EXT4 disk (obviously without having access to newer features). There is a commercial product available, but that wasn't what I was after. After wading through a lot of discussion board posts I did the following:
- Download and install MacFuse
- Download and install MacFusion. MacFusion is the GUI to configure MacFuse. Unfortunately it turned out, that they don't support EXT yet, but you can help and vote for this enhancement
- Download and install MacPorts (odd: I needed a reboot or it seemed so to get it to work)
Open a terminal window and type: sudo port install ext2fuse You have to provide your password. That command send off my Mac for quite a while running a GnuMake/TCL script to download and configure all dependencies: expat, gperf, libiconv, ncursesw, ncurses, gettext, ossp-uuid, pkgconfig, e2fsprogs, macfuse.(failed since the macefuse installer didn't recognize SnowLeopard. I tried to hack the PortFile with little success)- Download and install Fuse-ext2 from Sourceforge gives you - when auto mounting - read-only access (and a nice setting in the preferences)
- Reboot the machine and your EXT2/3/4 drives show up in Finder. I don't know if that works for internal partitions, but it worked for the one connected via USB very well
Lessons learned
- On Snow Leopard EXT2FS didn't work
- Downloading the sourcecode for Ext2Fuse from SourceForge and trying to compile on 10.6 (sudo ./config, sudo make, sudo make install) didn't work either
- Installing MacFuse before MacPorts didn't help to avoid the dependency check
- There are two project porting Linux software to the Mac: DarwinPorts and MacPorts. Downloading DarwinPorts gave me a File MacPorts1.7.0.pkg, while MacPorts delivers a file MacPorts-1.8.1.pkg. The two projects seem to draw from the same source
- There seems to be way to go before everything works back on 10.6
- Once you leave the realm of i[Insert-your-average-Mac-application-here] it gets as powerful and as complicated as any other OS
Posted by Stephan H Wissel on 02 October 2009 | Comments (1) | categories: Software