How to Mount and Access Ext4 Partition in Mac

How To Mount Access Ext4 Mac Featured

If you work with Linux, you probably have a hard drive or two formatted with Ext4 or a related filesystem. Assuming you only work with Linux, that isn’t a problem. When you need to access data from that Ext4 filesystem on another operating system, you start to run into trouble.

Macs, for example, don’t support Ext4 filesystems. If you plug a drive in, it’s simply not recognized. Fortunately, there are a few ways around this.

The Temporary Option: Use a VM

If you only need to read a few files and don’t want to opt for a more permanent solution, there is a fairly easy solution. Just install a version of Ubuntu, or whatever your Linux distribution of choice is, in a virtual machine host like VirtualBox, then mount the drive as you would any other and read away.

Installing VirtualBox itself is fairly straightforward, and if you have an Ext4-formatted hard drive, you’re probably familiar with installing Linux. If not, read on for other options.

Add Ext4 Support to macOS 

If you frequently use Ext4-formatted disks and/or need to copy files from them to your macOS drive, you need a better option. You’ll need to install some software, namely osxfuse and ext4fuse. The easiest way to install these is using Homebrew. If you need help installing Homebrew, follow our guide

Once Homebrew is installed (or if it is already installed) run the following:

How To Mount Access Ext4 Osxfuse Install

A Word of Warning

While these tools can help you read from Ext4-formatted drives, they aren’t very stable. As long as you’re mounting the drives read-only, as we are in this tutorial, you aren’t risking much. If you try to use these tools to write to the Ext4 drives, you may lose data.

If you need to move files back and forth across a drive shared with Linux, this method isn’t recommended. Instead, use a different filesystem like ExFAT or try the commercial option listed below.

Mounting Ext4 Disks on macOS 

Now that you have Ext4 support installed, you need to identify the drive you wish to mount. To do this, run the following command:

Take note of the ID for your partition, which will be something like “/dev/disk3s1.” Assuming that is the ID, you would run the following command to mount the drive:

MY_DISK above can be any name of your choosing. Now, navigate to the “/tmp/” directory in Finder, and you should see the contents of your partition listed. If your disk has multiple partitions, you can mount them using the same steps as above. Just make sure to use different directory names to mount them.

How To Mount Access Ext4 Mount Drive

A Third Option that Will Cost You

If you really need read/write access and are willing to pay, Paragon Software may have an option for you. The company offers ExtFS for Mac software that it claims is safe and fast. The company even says its software can repair Ext4 and other filesystems.

How To Mount Access Ext4 Mac Extfs For Mac

We haven’t tested this software, so we can’t say whether or not it works as claimed. It does offer a free trial, but to be safe you might want to back up your drives, just in case. If you want to buy the software, it’s available for $39.95.

Conclusion

While Ext4 on macOS is far from impossible, it’s also frustrating since Apple doesn’t support the format. Given the company’s focus on its own technologies, we don’t expect to see this change in the near future. For the time being, it’s up to companies like Paragon Software and the open source community to keep it coming.

Granted, Ext4 isn’t fully supported on Windows right now either. Given that company’s increasing integration of Linux into Windows, that may eventually change. For now, we have a guide on how to mount and access Ext4 filesystems on Windows.

One comment

  1. Thanks for the tip, I was able to mount my USB back up drive of my Linux partition on my 2013 27inch iMac (running High Sierra). I installed Fedora 29 on my internal iMac drive using rEFInd. While I could mount

Leave a Comment

Yeah! You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation.