Skip to content
  • Home
  • About
  • Contact
« How to find out which process has a particular file open
Announce your musical tastes on Twitter using Tunes Tweeter »

How to read HFS+ volumes on Windows

By Sharninder | Published: September 21, 2009

HFS Explorer I’ve been using an OS X Leopard (That’s 10.5) machine at work since the last few days for a project that I’m working on. I’ve been a Unix user for a long time so I’m pretty comfortable with the Unix side of OS X including the file system and the BSD underpinnings.

For those who haven’t used OS X, it uses a proprietary file system called HFS+ as the default file system. Because it is a proprietary file system and Apple hasn’t really released any specs for it yet, there aren’t too many utilities to read or write to HFS+ volumes (That’s what Apple calls their partitions) from operating systems other than Apple’s own.

Why would I want to do that ? Well, I normally wouldn’t … but yesterday I was in a hurry to get back home from work and needed to copy some files from the OS X machine so that I could work on them at home. What I forgot in a hurry was that the USB stick that I was using had been formatted as an HFS+ volume. I came home and plugged in the USB stick to my home PC and waited and waited for it to get recognized. Windows recognized the stick but refused to read it. That is when I realized my mistake.

I searched online for tools which would let me get my data off the flash drive and let me work on it from my Windows machine.

HFSExplorer is one such small utility designed to do  that.

You can choose to download either the Windows based Installer or the standalone zip file. I chose the zip file, downloaded and extracted the contents to a folder on my PC and plugged in the flash drive that I wanted to read the data from.

HFSExplorer

When you run hfsexplorer.exe for the first time, you’ll see an empty windows explorer styled two pane window. hfsexplorer displays only HFS/HFS+ volumes (and not your regular windows filesystem) and so you need to first point it to the volumes you want it to read.

Click on File->Load file sytem from device.

HFSExplorer

I’ve found that HFSExplorer is pretty good at auto detecting HFS volumes and so click on autodetect and when it detects your HFS volume,Click on Load.

That’s it. HFSExplorer will now display a list of all the files on the HFS volume that you selected. You can click on Extract to copy the files from the HFS volume to your local disk.

HFSExplorer

The only feature missing from HFSExplorer right now is the ability to write to HFS/HFS+ volumes. So, what you see above is basically a read-only view of the file system. If you need write access to your files, though, you’re out of luck here – Atleast if you use Windows.

If you use Linux, on the other hand, things are slightly better.

Most Linux distributions (I use Debian) come with a driver to read (and optionally write to) HFS+ volumes. The driver is called hfsplus and to use it you have to give the following command.

mount –t hfsplus <HFS volume device name> <mount point>

The volume name will be something of the form of /dev/sdb1, sdb2 or something else depending on the configuration of your machine. You can see the exact name on your system by using the fdisk –l command. That’ll show you a list of all the drives connected to your system.

The above mount command will give you only read access to the HFS+ volume. Write access is still experimental but (in my limited tests), I’ve found it to work pretty well. To enable write access, use the mount command with the force option.

mount –t hfsplus –o force <HFS volume device name> <mount point>

That is all there is to read (and write) Mac volumes on Windows and Linux.

About Sharninder:

Programmer, blogger and a geek making a living shifting bits around the Internet. Sharninder is the owner of Geeky Ninja
Related Posts with Thumbnails
  • PrintFriendly
  • Yahoo Buzz
  • Google Reader
  • Delicious
  • Evernote
  • LinkedIn
  • StumbleUpon
  • Tumblr
  • Identi.ca
  • Digg
  • Facebook
  • FriendFeed
  • Reddit
  • Technorati Favorites
  • Twitter
  • Share/Bookmark

Related Posts

  • Control firefox with the keyboard using ubiquity
  • Convert videos for your iPhone with free tools
  • How to find out which process has a particular file open
  • How to create a secure and private network
  • Caffeine keeps your PC awake
This entry was posted in Mac OS X and tagged file system, Linux, Mac OS X, utility, Windows. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
« How to find out which process has a particular file open
Announce your musical tastes on Twitter using Tunes Tweeter »

2 Comments

  1. Adrian
    Posted October 9, 2009 at 1:14 pm | Permalink

    Hi
    Thanks the posting. I was wondering if you had any suggestions for when devices are not auto-detected? I am trying to access an external hardrive that has been formatted using HFS. I plug the hard drive to my computer using a USB cable and run HFS explorer but for some reason the program doesn’t realize that it is there.
    I don’t see the drive listed under My Computer. But oddly enough Vista does know that the hard drive is plugged in because when I go to eject the USB it does say “Mass storage device”. So it is puzzling that I can’t see it in MyComputer or in HFS explorer.

    Any thoughts? The hard drive manufacturer is FANTOM. Not sure if that makes a difference.
    Thanks
    Adrian

    Reply
  2. Sharninder
    Posted October 9, 2009 at 4:31 pm | Permalink

    @Adrian: I’ve never heard of this hard drive manufacturer but I used an HFS+ formatted USB flash drive and that was recognized properly. I don’t have access to an external USB drive to test this right now.

    Sorry, but I can’t help you with this

    Reply

Post a Comment

Click here to cancel reply.

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscription Options:

  • Recent Posts

    • How to add Facebook chat to iChat on Mac OS X
    • How To Get Music Off your iPhone
    • Monitor your websites for free using WasitUp?
    • Grooveshark: Listen to unlimited music online for Free
    • Glide OS – A web based free operating system
    • December Roundup – Best of the Web
    • HowTo install RockBox on your iPod
  • Recent Comments

    • How To Get Music Off your iPhone | Geeky Ninja on How To Get Music Off your iPod
    • Sharninder on Grooveshark: Listen to unlimited music online for Free
    • Briefgold on Grooveshark: Listen to unlimited music online for Free
    • Matjaz on Recover data from an iPhone backup
    • Simon on Recover data from an iPhone backup
  • Most Popular Posts

    1. 3%HowTo install RockBox on your iPod
    2. 2%Grooveshark: Listen to unlimited music online for Free
    3. 2%Glide OS - A web based free operating system
    4. 2%Want to see what the Google Wave Hype is all about ? We've got invites for you
    5. 2%Find the cheapest books on Amazon using CheapRiver
    6. 2%Monitor your websites for free using WasitUp?
    7. 1%December Roundup - Best of the Web
    8. 1%How To Get Music Off your iPhone
    9. 1%How to add Facebook chat to iChat on Mac OS X
  • Categories

    • Announcements
    • Firefox
    • Internet
    • iphone
    • Linux
    • Mac OS X
    • Open Source
    • Tips and tricks
    • Useful Utilities
    • WebApps
    • Windows
  • Archives

    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
Powered by WordPress.