I'm having some problems with mounting an hfs+ partition on Arch Linux.
When I run sudo mount -t hfsplus /dev/sda2 /mnt/mac I get this error:
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Running dmesg | tail gives:
[ 6645.183965] cfg80211: Calling CRDA to update world regulatory domain
[ 6648.331525] cfg80211: Calling CRDA to update world regulatory domain
[ 6651.479107] cfg80211: Calling CRDA to update world regulatory domain
[ 6654.626663] cfg80211: Calling CRDA to update world regulatory domain
[ 6657.774207] cfg80211: Calling CRDA to update world regulatory domain
[ 6660.889864] cfg80211: Calling CRDA to update world regulatory domain
[ 6664.007521] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA
[ 6857.870580] perf interrupt took too long (2503 > 2495), lowering kernel.perf_event_max_sample_rate to 50100
[11199.621246] hfsplus: invalid secondary volume header
[11199.621251] hfsplus: unable to find HFS+ superblock
Is there a way to mount this partition?
EDIT:
Using sudo mount -t hfsplus -o ro,loop,offset=409640,sizelimit=879631488 /dev/sda2 /mnt/mac gets rid of hfsplus: invalid secondary volume header in dmesg | tail



offsetparameter, which didn't work when combined with this, but using onlysizelimitset to the number of bytes (bytes * sectors) worked like a charm, even for non-CoreStorage partitions – cdeszaq Oct 16 '16 at 16:58mount failed: Unknown error -1and nothing indmesg.hfsplusis definitely loaded. – Dan May 09 '17 at 16:19dmesg displays: [ 4449.335372] hfsplus: unable to find HFS+ superblock
– Guillaume Cisco Jun 10 '20 at 14:15hfsplus: unable to find HFS+ superblock? – FlexMcMurphy May 30 '21 at 08:15