Hi,
I am trying to mount a usb drive that I use with my Mac; it's formatted as Mac OS Extended (Journaled). Webmin can't mount the drive because it only has hfs. As far as I know, I need to install hfsplus, but I don't know how to install it or where to get it.
I appreciate if someone can help.
Thanks in advance!
I am trying to mount a usb drive that I use with my Mac; it's formatted as Mac OS Extended (Journaled). Webmin can't mount the drive because it only has hfs. As far as I know, I need to install hfsplus, but I don't know how to install it or where to get it.
I appreciate if someone can help.
Thanks in advance!
In Hardware
Share this post:
Responses (7)
-
Accepted Answer
-
Accepted Answer
Hello Nick,
finally I solved the problem by downloading only the needed paket.
The idea was to be able to mount my " 1.8T Apple HFS/HFS+ Sans titre" partition in read-write modus. I can mount it but only in read-only modus.
I tried several different ways to mount it (force) but with no success.
It seems I need to deactivate the journal of that drive (diskutil disableJournal /Volumes/<name> ) but I dont have any MAC anymore to do that ...
thanks again for your help -
Accepted Answer
That is the wc_repos issue so I assume this is a Community box. You will need to fix the issue then update your system, possibly with a:
You will then need to reboot to get the el7 kernel up and running if it is not already. You may need to reinstall the hfs-kmod or do you need the hfsplus-kmod driver?yum update app-base
yum clean all
yum update -
Accepted Answer
Ok, solved it to mount but only on read modus...
Still looking for acessing the disk on read-write
thanks
So it seems I've to add new tools but when trying, get the following error :
--> Lancement de la transaction de test
---> Le paquet kmod-hfs.x86_64 0:0.0-4.el7_5.elrepo sera installé
--> Résolution des dépendances terminée
Dépendances résolues
====================================================================================================================================================================
Package Architecture Version Dépôt Taille
====================================================================================================================================================================
Installation :
kmod-hfs x86_64 0.0-4.el7_5.elrepo elrepo 45 k
Résumé de la transaction
====================================================================================================================================================================
Installation 1 Paquet
Taille totale des téléchargements : 45 k
Taille d'installation : 116 k
Is this ok [y/d/N]: y
Downloading packages:
kmod-hfs-0.0-4.el7_5.elrepo.x86_64.rpm | 45 kB 00:00:00
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 375, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 281, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 683, in doTransaction
problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2635, in downloadPkgs
self.plugins.run('postdownload', pkglist=pkglist, errors=errors)
File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/clearcenter-marketplace.py", line 291, in postdownload_hook
if pkg.repo in wc_repos:
NameError: global name 'wc_repos' is not defined
Any idea ? -
Accepted Answer
Hello all,
I reopen this subject because I need to connect a MAC Nas to my cleaors using firewire. As I can seen, the NAS is detected and displayed :
Disque /dev/sdb : 2000.3 Go, 2000347734016 octets, 3906929168 secteurs
Unités = secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : gpt
Disk identifier: 1D075244-0046-42D7-A7C1-9662F2A0FDBD
# Start End Size Type Name
1 40 409639 200M EFI System EFI System Partition
2 409640 3906666983 1.8T Apple HFS/HFS+ Sans titre]
According to the post, I installed the following : kmod-hfsplus-0.0-5.el7_5.elrepo.x86_64
But as I can see, my COS can't share my sdb disk into sdb1 and sdb2 partition so I can't mount my Apple HFS partition to access my data.
Has someone an idea howto solve that ?
Thanks to all for your help -
Accepted Answer
Thanks Marcel, following your excellent instructions solved my problem.
However, I've a new problem! I've another drive which is GPT type and is formatted as Mac OS Extended (Journaled). When I try to mount it, I get the following error message.
[root@system usbdrive]# mount -t hfsplus /dev/sdd1 /mnt/usbdrive
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
After trying dmesg | tail, I get the following:
sd 5:0:0:0: Attached scsi generic sg3 type 0
sd 5:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
sd 5:0:0:0: [sdd] Write Protect is off
sd 5:0:0:0: [sdd] Mode Sense: 38 00 00 00
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sdd: sdd1 sdd2
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sd 5:0:0:0: [sdd] Attached SCSI disk
hfs: unable to find HFS+ superblock
Could you please again help me?
Thanks again,
Bahram -
Accepted Answer
Hi Bahram Shahrooz,
You got my attention because you ask a mac related question. I'm also using Mac OS and i think we need more active mac users on this forum.
I did some investigation and the Elrepo has the HFSplus kernel module. ELRepo supports Red Hat Enterprise Linux and its derivatives.
*** add elrepo
rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
by default this repo is enable so i'll suggest you disable it and use "--enablerepo=" to install rpms.
*** install kmod-hfsplus
yum --enablerepo=elrepo install kmod-hfsplus
IMPORTANT:I never used this repo or tested this so my advice is test this in a virtual machine. So be careful.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »