I recently did a

ssh root@myserver "dd if=/dev/xvda " | dd of=/<localpath>/myimage.img

as instructed by my VPS server docs at linode. I did this before to another linux system and mounted it perfectly by doing

sudo mount -o loop myimage.img mountdirectory

But on my mac osx 10.7 I get the following error.

mount: You must specify a filesystem type with -t.

I tried -t ext, -t ext3, -t ext4 but all failed with an error like this

mount: exec /System/Library/Filesystems/ext4.fs/Contents/Resources/mount_ext4 for /<mount directory>: No such file or directory

How do I fix this?

closed as off topic by Shane Madden, Scott Pack, voretaq7 Aug 31 '12 at 18:29

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.


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.


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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.