Fedora Linux Support Community & Resources Center
  #1  
Old 10th February 2017, 06:22 AM
fabsbsd Offline
Registered User
 
Join Date: Jan 2010
Posts: 6
linuxfedorachrome
Can't mount HFS+

Hi!

I am using F24 on a MacBook Pro 2012 with Mac OS X El Capitan (dual boot).

I installed hfsplusutils but I can't mount HFS+ partition:

Code:
[root@local ~]# hpmount -r /dev/sda2 /mnt/mac/
hpmount: /dev/sda2: This is not a HFS+ volume (Unknown error -1)
[root@local ~]# 
[root@local ~]# fdisk -l /dev/sda
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 000059BD-5840-0000-F53A-00000F4E0000

Device         Start       End   Sectors   Size Type
/dev/sda1         40    409639    409600   200M EFI System
/dev/sda2     409640 975503591 975093952   465G Apple Core storage
/dev/sda3  975503592 976773127   1269536 619.9M Apple boot
Please help
Reply With Quote
  #2  
Old 12th February 2017, 08:49 AM
AndyMender Offline
Registered User
 
Join Date: Nov 2016
Location: Austria
Posts: 16
linuxfirefox
Re: Can't mount HFS+

Do you just want to have a look at the partition (read) or actually write to it?

As far as I remember, journaling needs to be turned off from MacOS X before GNU/Linux can safely write to an HFS+ partition. Otherwise, you risk damaging the content.
Reply With Quote
  #3  
Old 21st February 2017, 01:44 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 1,053
linuxfedorafirefox
Re: Can't mount HFS+

The main HFS+ volume on macOS is no longer on a partition visible to Linux these days. It's a logical volume within Apple's volume manager, Core Storage.

This partition:
/dev/sda2 409640 975503591 975093952 465G Apple Core storage

Is a core storage physical volume, not HFS+. Inside of it, is the HFS+ logical volume. Right now there's no native support for Core Storage in Linux. There is a project working on FileVault support, i.e. the encrypted variant of Core Storage volumes. I have no idea if that project can work if there's no encryption present. There is a lot of obfuscation here, Apple hasn't ever documented Core Storage format or function, and they haven't open sourced the code like they did with HFS+ in Darwin.

https://github.com/libyal/libfvde/bl...FVDE).asciidoc
Reply With Quote
  #4  
Old 21st February 2017, 09:09 AM
bobx001 Offline
Registered User
 
Join Date: Dec 2012
Location: santa barbara, CA
Posts: 147
linuxfedorafirefox
Re: Can't mount HFS+

Quote:
Originally Posted by chrismurphy View Post
The main HFS+ volume on macOS is no longer on a partition visible to Linux these days. It's a logical volume within Apple's volume manager, Core Storage.

This partition:
/dev/sda2 409640 975503591 975093952 465G Apple Core storage

Is a core storage physical volume, not HFS+. Inside of it, is the HFS+ logical volume. Right now there's no native support for Core Storage in Linux. There is a project working on FileVault support, i.e. the encrypted variant of Core Storage volumes. I have no idea if that project can work if there's no encryption present. There is a lot of obfuscation here, Apple hasn't ever documented Core Storage format or function, and they haven't open sourced the code like they did with HFS+ in Darwin.

https://github.com/libyal/libfvde/bl...FVDE).asciidoc

As a workaround, I would do this:
boot MAC
install VirtualBox in the MAC
install Fedora inside the VirtualBox
enable NFS on the MAC
mount the NFS partition from inside the Fedora VirtualBox
- you gotta play around with the Network settings in the VirtualBox to make that work.
Reply With Quote
  #5  
Old 22nd February 2017, 06:36 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 1,053
linuxfedorafirefox
Re: Can't mount HFS+

Also with VirtualBox, you can build the guest additions in the Fedora VM, and once those are built you can setup guest folder sharing which I find more convenient than NFS. But use whichever one you're more familiar with already. Basically it comes down to compiling drivers (it compiles and installs by running an included script), vs setting up network stuff.
Reply With Quote
Reply

Tags
hfs, mount

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: mount to NFS server '192.168.8.15' failed: RPC Error: Program not registered. laksh Servers & Networking 0 2nd November 2009 03:24 PM
Permission denied error when trying to mount image contained in sshfs mount openSauce Using Fedora 5 8th March 2009 03:14 PM
mount: mount to NFS server '192.168.0.3' failed: System Error: Connection refused. fakie_flip Servers & Networking 0 8th April 2008 08:51 AM
disk drives refuse to mount (fstab/mount) spfdz Using Fedora 10 13th November 2006 03:13 AM


Current GMT-time: 13:38 (Saturday, 25-02-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat