View Issue Details

IDProjectCategoryView StatusLast Update
0000879channel: elrepo/el7kmod-hfspluspublic2018-11-26 21:04
Reportertroybar Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Summary0000879: Unable to mount or open in GUI a gparted hfs+ formatted disk in centOS 7 kernel 3.10.0-862.14.4.el7.x86_64
DescriptionUnable to mount or open in GUI a gparted hfs+ formatted disk. Display the following message;

sudo uname -r
3.10.0-862.14.4.el7.x86_64

filesystem type hfsplus not configured in kernel.

sudo mount -t hfsplus -o loop /dev/sdb1 /mnt/
mount: unknown filesystem type 'hfsplus'



sudo yum -y install kmod-hfs kmod-hfsplus hfsplus-tools
Package kmod-hfs-0.0-4.el7_5.elrepo.x86_64 already installed and latest version
Package kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64 already installed and latest version
Package hfsplus-tools-540.1.linux3-4.el7.x86_64 already installed and latest version

sudo rpm -qa | grep hfsplus
hfsplus-tools-540.1.linux3-4.el7.x86_64
kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64

sudo ls -la /etc/modprobe.d
-rw-r--r--. 1 root root 215 Sep 27 01:23 dccp-blacklist.conf
-rw-r--r--. 1 root root 166 Sep 27 04:27 firewalld-sysctls.conf
-rw-r--r--. 1 root root 746 Apr 13 2018 lockd.conf
-rw-r--r--. 1 root root 1004 Sep 15 2017 mlx4.conf
-rw-r--r--. 1 root root 92 May 16 21:17 truescale.conf
-rw-r--r--. 1 root root 674 Oct 30 2017 tuned.conf


filesystem type hfsplus not configured in kernel.

sudo mount -t hfsplus -o loop /dev/sdb1 /mnt/
mount: unknown filesystem type 'hfsplus'


sudo find / -iname 'hfs*'
/usr/lib/grub/i386-pc/hfs.mod
/usr/lib/grub/i386-pc/hfsplus.mod
/usr/lib/grub/i386-pc/hfspluscomp.mod
/usr/lib/modules/3.10.0-862.14.4.el7.x86_64/weak-updates/hfsplus
/usr/lib/modules/3.10.0-862.14.4.el7.x86_64/weak-updates/hfsplus/hfsplus.ko
/usr/lib/modules/3.10.0-862.14.4.el7.x86_64/weak-updates/hfs
/usr/lib/modules/3.10.0-862.14.4.el7.x86_64/weak-updates/hfs/hfs.ko
/usr/lib/modules/3.10.0-862.el7.x86_64/extra/hfsplus
/usr/lib/modules/3.10.0-862.el7.x86_64/extra/hfsplus/hfsplus.ko
/usr/lib/modules/3.10.0-862.el7.x86_64/extra/hfs
/usr/lib/modules/3.10.0-862.el7.x86_64/extra/hfs/hfs.ko
/usr/lib64/libnl/cli/qdisc/hfsc.so
/usr/share/doc/hfsplus-tools-540.1.linux3
/usr/share/doc/kmod-hfsplus-0.0/hfsplus.txt
/usr/share/doc/kmod-hfs-0.0/hfs.txt


TagsNo tags attached.
Reported upstream

Activities

toracat

2018-11-11 22:31

administrator   ~0006043

Can you check to see if the hfsplus module is loaded?

lsmod | grep hfs

If it does not return anything, please try running :

sudo modprobe hfsplus

troybar

2018-11-14 17:10

reporter   ~0006044

lsmod | grep hfs - does not return anything

sudo modprobe hfsplus
modprobe: ERROR: could not insert 'hfsplus': Required key not available

toracat

2018-11-14 17:21

administrator   ~0006045

Looks like you system has secureboot enabled. Can you disable it?

Otherwise, you'd need to install ELRepo's secureboot key. Please see:

http://elrepo.org/tiki/SecureBootKey

troybar

2018-11-26 04:39

reporter   ~0006051

Thanks for the reply, I ended up doing the following;

A stock centos 7 VM
Attached USB3 storage hdd to VM

In /etc/yum.repos.d/CentOS-Base.repo

[centosplus] section
gpgcheck=1
enabled=1
includepkgs=kernel* kmod-hfsplus hfsplus-tools

In the [base] and [update] section include the following:

exclude=kernel kernel-devel kernel-PAE-*

Edit /etc/yum.conf and add this line:

plugins=1

Set priorities in /etc/yum.repos.d/CentOS-Base.repo

[centosplus]
enable=1
priority=2

sudo yum -y install kmod-hfs kmod-hfsplus hfsplus-tools

mkfs for /dev/sda1

sudo mount -t hfsplus -o loop /dev/sda1 /mnt/
df -h /mnt/ with success

Yes, I have seen secureboot in the bios, but tried the above in VM, which was able to prepare the HDD.

Wow..I wouldn't of known about secureboot...

Thank you for your time.

troybar

2018-11-26 04:40

reporter   ~0006052

Oh..by the way..you rock!

toracat

2018-11-26 21:04

administrator   ~0006053

Glad that you've got things sorted out. Now closing.

Issue History

Date Modified Username Field Change
2018-11-11 20:35 troybar New Issue
2018-11-11 20:35 troybar Status new => assigned
2018-11-11 20:35 troybar Assigned To => pperry
2018-11-11 22:31 toracat Note Added: 0006043
2018-11-14 17:10 troybar Note Added: 0006044
2018-11-14 17:21 toracat Note Added: 0006045
2018-11-26 04:39 troybar Note Added: 0006051
2018-11-26 04:40 troybar Note Added: 0006052
2018-11-26 21:04 toracat Note Added: 0006053
2018-11-26 21:04 toracat Assigned To pperry => toracat
2018-11-26 21:04 toracat Status assigned => resolved
2018-11-26 21:04 toracat Resolution open => no change required