[SOLVED] Mounting USB disk with HFS volume

General support questions
Post Reply
limsadmin
Posts: 2
Joined: 2011/09/13 14:55:10
Location: Lyon, France

[SOLVED] Mounting USB disk with HFS volume

Post by limsadmin » 2011/09/13 15:11:15

Hello,

I'd like to mount a USB disk on a CentOS 6 machine, but this USB disk has been formatted on a Mac and contains HFS volume.
When I try to mount the disk, I have this error :

[code]# mount /dev/sdd2 /media/usbdisk/
mount: unknown filesystem type 'hfsplus'[/code]

So I tried to install hfsutils:

[code]# yum install hfsutils
Loaded plugins: fastestmirror, refresh-packagekit
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: distrib-coffee.ipsl.jussieu.fr
* extras: distrib-coffee.ipsl.jussieu.fr
* updates: distrib-coffee.ipsl.jussieu.fr
Setting up Install Process
No package hfsutils available.
Error: Nothing to do[/code]

I searched on the net and downloaded a rpm, but the installation failed:

[code]# rpm -i hfsutils-3.2.6-7.2.2.x86_64.rpm
warning: hfsutils-3.2.6-7.2.2.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
libtcl8.4.so()(64bit) is needed by hfsutils-3.2.6-7.2.2.x86_64[/code]
Indeed, I have libtcl8.5.so... and I can't downgrade.

Is there any hfsutils package working with a CentOS 6? Or is there any other package with tools which allow to mount HFS volumes?

My config: CentOS Linux release 6.0 (Final) 2.6.32-71.el6.x86_64

Thanks for your help!

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] Mounting USB disk with HFS volume

Post by pschaff » 2011/09/13 19:44:32

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature - particularly the parts about installing software.

Trying to install random downloaded RPMs is a recipe for disaster. Perhaps [url=http://elrepo.org/tiki/kmod-hfsplus]kmod-hfsplus[/url] from [url=http://elrepo.org]ELRepo[/url] is worth a look.

limsadmin
Posts: 2
Joined: 2011/09/13 14:55:10
Location: Lyon, France

[SOLVED] Re: Mounting USB disk with HFS volume

Post by limsadmin » 2011/09/14 08:02:10

[quote]Trying to install random downloaded RPMs is a recipe for disaster.[/quote]
You're right... I did this after one hour of unsucessful research... and I was lucky this attempt didn't affect my system. Next time, I'll come here directly ;-)

[quote] Perhaps kmod-hfsplus from ELRepo is worth a look.[/quote]
Thanks a lot, it worked perfectly!

[code]# rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
# yum install kmod-hfsplus[/code]

Thanks again.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] Mounting USB disk with HFS volume

Post by pschaff » 2011/09/14 13:49:28

You are welcome, and thanks for reporting back. Marking this thread [SOLVED] for posterity.

Post Reply