Mounting a linux image built with "dd" on Mac OSX 10.7 [closed]

Solution 1:

Get VirtualBox and install Ubuntu on it. Pass the .img file to the VM as a disk. Edit the fstab in the VM to mount the disk image.

Solution 2:

Shamelessly stolen from the answer on this Ask Different question


The answer depends on the OS X version you are running:

If you are running 10.5 (Leopard) or 10.6 (Snow Leopard), Paragon’s ExtFS driver (commercial) will give you read and write access to ext2 / ext3 / ext4 file systems. Paragon does not list Lion as a compatible OS for the ExtFS driver version current as of November 1st, 2011, 8.0, and considering that the NTFS driver, which shares the same core, has been updated to version 9 for Lion compatibility, I’d suspect this is for a good reason.

If you are running 10.7 (Lion) and can’t wait (or don’t feel like investing into commercial software), you can setup a Linux virtual machine, mount your volume(s) there and share it / them via Samba or (S)FTP. This post has some details on how to achieve this using the free VirtualBox. Note this is not exactly a lightweight solution, even if using a prebuilt VirtualBox VM will spare you installing and configuring a Linux distro from scratch.