I needed to mount an ext3 file system which is on my dual boot mac (I’m doing that to allow parallels to run from “boot camp”). So my idea is to just mount the drive.  To do that:

  • I installed macfuse, then fuse-ext2 from:
http://sourceforge.net/projects/fuse-ext2/

Once downloaded and extracted, then

cd fuse-ext2-0.0.7
./autogen.sh
./configure
make
sudo make install
mkdir -p /mnt/sda3
fuse-ext2 /dev/sda3 /mnt/sda3

Segmentation fault

damn, there is a bug in fuse-ext2.c, first line! edit fuse-ext2/fuse-ext2.c, comment out this (line 324)

//debugf("version:'%s', fuse_version...

And I see there is a MACOSX.build file, so lets do this instead:

make distclean
sh ./MACOSX.build

then double click on the installer from the finder: fuse-ext2-0.0.7.dmg

sudo fuse-ext2 /dev/disk0s3 /mnt/sda3
cd /mnt/sda3
ls

magic.

Note that it is mounted as ext2 (and ext3 is backward compatible with ext2), and the net effect is that you lose the journal.  That sounds bad I hear the non-techies (and some techies) say. Well, the best thing about ext3 is the journal, and what it does is provide a fast way to recover the file system if (and when) it is not shut down cleanly (like power out). The downside of not having the journal is that after an unclean shutdown, it can take a while to go through all the files and make the file system clean again.

2 Comments

  1. neri says:

    this is a solution for all the people who cant make thid method work,follow these steps : 1.download macfuse (search google).2. download fuse ext2 0.0.5.dmg(this version was the only one that works for me).3.install first macfuse then fuse ext, in that order, after the installation of these packages ,just plug by usb (mine is conected by usb external hard drive, here its where my linux partition its installed). i never use terminal or any command, simply when i connect my external hard drive, the finder opens and display the documents of my disks3 partition(ext3),now i just drag and drop to my desk the files i want to save. by the way im running on snow leopard 10.6.3

Leave a Reply