22 August 2015

Mac: Edit a ext2 or ext3 Filesystem

ext2 and ext3 are not natively supported on Mac so you need to install third party software.

  1. Install OSXFuse and select the MacFuse compatibility layer
  2. Install the it's Ext2 FUSE module
  3. Make a mount point for mounting:
    mkdir /Volumes/mountpoint1
  4. Mount the disk read/write using the 'force' option:
    fuse-ext2 /dev/disk2s1 /Volumes/mountpoint1 -o force
  5. Edit a file on the system e.g.
    vi /Volumes/mountpoint1/etc/fstab

No comments:

Post a Comment