Monday, December 8, 2014

Mounting HFS+ MAC filesystem into Redhat Linux 6


Mounting HFS+ filesystem into Redhat Linux 6

# rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org

#  rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm   
    Check (http://elrepo.org/tiki/tiki-index.php) for your version of redhat/centos

# yum install kmod-hfsplus

Connect the drive, it should automatically mounted or mount using following commands:

# fdisk -l

Note down device name e.g /dev/sdb1 with correct size (if 1 TB hard disk, it may show 1000GB)

# mkdir /Externaldrive

# mount /dev/sdb1 /Externaldrive

# cd /Externaldrive

# ls  //to list content of the drive