Read HFS on Ubuntu

Posted on Saturday July 06, 2013 / by Eric Potvin

Yesterday I plugged my old MAC OS hard drive to see what's on it and re-format to use it as a backup. But first, I wanted to know what's on it to make sure I don't remove files I need.

But of course, I couldn't read it. So, I did some digging to make sure I read it properly. So I found about hmount. hmount is used to introduce a new HFS volume. A UNIX pathname to the volume's source must be specified. The source may be a block device or a regular file containing an HFS volume image.

Sounds easy right? well it's that easy!

sudo apt-get install hfsutils

So, this will show something like this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 86.0 kB of archives.
After this operation, 254 kB of additional disk space will be used.
Get:1 precise/main hfsutils amd64 3.2.6-11build3 [86.0 kB]
Fetched 86.0 kB in 0s (94.3 kB/s)
Selecting previously unselected package hfsutils.
(Reading database ... 374484 files and directories currently installed.)
Unpacking hfsutils (from .../hfsutils_3.2.6-11build3_amd64.deb) ...
Processing triggers for man-db ...
Setting up hfsutils (3.2.6-11build3) ...

Then, you can mount the CD or DVD:

mount -t hfsplus -o rw,force /dev/sdx1 /media/cdrom