LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-09-2018, 05:05 PM   #1
i3z
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Rep: Reputation: Disabled
Thumbs up [Solved] Mount HFS & HFSPLUS (Apple Filesystem Types)


Hello,

Have you suffered while trying to mount HFS & HFS+ ?

Easy doing but hard to find out, I was looking too many websites looking for solution to this answer and I couldn't find real one. Here I am share 0.02 experience today!

First thing first, you have to install kmod-hfs & kmod-hfsplus and hfsplus-tools.

CENTOS
Step 1:
Code:
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
Step 2:
Code:
yum install kmod-hfs
Step 3:
Code:
yum install kmod-hfsplus
Step 4:
Code:
yum install hfsplus-tools
Finally confirm installation via:
Code:
rpm -qa | grep hfsplus
Sample Output
Code:
[root@server modprobe.d]# rpm -qa | grep hfsplus
hfsplus-tools-540.1.linux3-4.el7.x86_64
kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64
Hard drive & partitions should be working fine now! IF NOT keep reading. Harden security will stop mount Apple Filesystem Types and show error as: mount: unknown filesystem type 'hfsplus' or 'Master: hfsplus not configure in the kernel' BUT APFS must be written on the kernel configuration kmod-hfs, kmod-hfsplus will take while to installation cause it's adding new file-system types to the kernel, kernel first responsibility is HARDWARE, so if you suffer from this issue EVEN after installation of those packages above. That means either misconfiguration with kernel or HARDEN SECURITY been applied.

Step 2:

Check your modprobe configure files.

Code:
ls -la /etc/modprobe.d
If you can see any of files below you have to permanently delete them to mount APPLE FILESYSTEM TYPES

Code:
rm -rf hfsplus.conf
rm -rf hfs.conf
rm -rf udf.conf
rm -rf squashfs.conf
rm -rf jffs2.conf
rm -rf freevxfs.conf
rm -rf cramfs.conf

That's it! you can immediately open file window and press any of you APFS hard drive and you won't see error message any more.

Thank you for reading, please leave comment.

Best Regards,
Az

Last edited by i3z; 06-22-2018 at 10:25 AM.
 
Old 06-12-2018, 07:28 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Thanks for sharing.

If you don't mind - please go to Thread Tools and mark this as Solved. It will help people in future web searches more quickly find your solution.
 
1 members found this post helpful.
Old 06-22-2018, 10:27 AM   #3
i3z
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
Thanks for sharing.

If you don't mind - please go to Thread Tools and mark this as Solved. It will help people in future web searches more quickly find your solution.
Thank you for the notice been applied for sure =)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't mount ipod ( hfsplus ) Keith Hedger Linux From Scratch 3 08-05-2012 04:26 AM
How to mount hfsplus USB drive rw in Ubuntu? johnsfine Linux - General 1 01-20-2012 03:22 PM
hfs/hfsplus support? Tux-O-Matic Linux - Kernel 10 06-10-2007 05:29 AM
hfs: unable to find HFS+ superblock VFS: Can't find ext3 filesystem on dev sdb. macroron Linux - Hardware 3 11-20-2006 09:50 PM
Mount HFS Apple Hard Disk Youssef_C Linux - Software 0 02-21-2005 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration