Mounting HFS+ R/W in Linux(Debian)

Mounting an HFS+ system in Linux is not all that easy In order to succeed you must mount your HFS+ drive then run fsck.hfsplus on the drive/

Here is how it is down

Step 1 : in a terminal

apt-get install hfsplus

Step 2 : I assume your drive is attached/installed

In my case I ran a mount command to see if indeed I could mount it

mount -t force hfsplus /dev/sda1 /mnt/sda1

If this works then umount the drive

Step 3 : apply the hfsplus rebuild to the drive: on the termina

fsck.hfsplus

l write

 

The output looks like this

root@thinkpad:~# fsck.hfsplus /dev/sda1
** /dev/sda1
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
   Incorrect number of Extended Attributes
(8, 3)
** Checking volume bitmap.
** Checking volume information.
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
   Invalid map node
(8, 0)
** Checking volume bitmap.
** Checking volume information.
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
** Checking volume bitmap.
** Checking volume information.
** The volume Backup_USB was repaired successfully.

Step 4: edit your /etc/fstab file

Add the following line to your fstab file

    /dev/sda1       /mnt/sda1       hfsplus  rw,user,noauto 0       0

Step 5:

reboot

Advertisements

One Response to Mounting HFS+ R/W in Linux(Debian)

  1. […] off of this tutorial, I installed the driver for my HFS+ drive (Mac OS Journaled), first by gaining root […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: