How do I read (mount and access files) ext3 / ext4 external hard disk partition under Mac OS X?
Apple Mac OS X cannot directly mount and use ext3 and/or ext4 file systems. In other words, you need to use 3rd party driver or application to access ext3 / ext4 file systems. Another option is to use Oracle VM VirtualBox application which is an x86 virtualization software package for OS X. You can use any guest os like Debian, Ubuntu or Fedora Linux to access ext3 / ext4 file systems.
Configure VirtualBox To Access External USB Device
Open the VirtualBox app but do not start Linux guest operating systems. Do not attach external USB hard disk. First, select guest operating systems and click on settings (Machine > Settings).
Click on Ports tab. Do not click on add button which shows all USB devices as follows:You need to add a new usb filter so that Virtualbox grabs external hard disk before Apple OS X:
Login to Linux guest using ssh or console. You can see your external hard disk details using any one of the following commands under Linux:
tail -f /var/log/messages
OR
fdisk -l
You can mount it as follows:
mkdir /media/usb
mount /dev/sdd1 /media/usb
Replace /dev/sdd1 with actual device name.
How Do I Copy Files To Apple OS X?
You can install samba on Linux and share file with Apple OS X. Another option is to use rsync or scp / sftp client from Apple OS X:
rsync -av user@debian.guest:/media/usb/datadir1/ ~/Desktops/datadir1/
scp user@debian.guest:/media/usb/data/sales.dat /path/to/dest
🐧 13 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
MacFuse?
I wasn’t aware of MacFuse. Thanks!
http://code.google.com/p/macfuse/
MacFuse is good but will not read EXT4 partition , in which case the awesome guide above is the only solution.
thank you!
Awesome tip! I can use this.
MacFuse makes your entire system very unstable. It gives many kernel panics. Eek! YMMV.
It’s perfectly stable, at least under Snow Leopard. But I can’t find any module yet for ext4.
What about internal disks? Would this work for a partition on my HD?
nfs?
What about mounting Ext3/4 volumes under PowerPC OS X (the “PowerPC” part is very important)? I suppose “an x86 virtualization software package” wouldn’t help there.
This totally worked and was much easier than any other tutorial I saw out there. Awesome info!
Thank you for this great guide! After I read and followed your instructions step by step it worked like a charm.
Worked great .. after all other efforts failed … Thanks a ton dude … :-)
Thanks for doing the heavy lifting here! My only comment is that I had to install the Extension pack for VirtualBox 4.2.6, but that was a non-issue. My Ubuntu VM auto-mounted the drive. Very cool.
One thing I find somewhat disconcerting is that a year later, using ANOTHER operating system is still the only real solution. I can understand windoze not having an easy path to ext3/4, but osx? It just doesn’t seem reasonable. I guess I shouldn’t complain — all I really use my mbp for is the host for my virtualbox guests, which actually do all of the heavy lifting. I love my mbp — I just wish apple loved it as much as the users do.