FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2010
    Posts
    6

    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

  2. #2
    Join Date
    Nov 2016
    Location
    Austria
    Posts
    16

    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.

  3. #3
    Join Date
    May 2010
    Posts
    1,058

    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

  4. #4
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    447

    Re: Can't mount HFS+

    Quote Originally Posted by chrismurphy
    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.

  5. #5
    Join Date
    May 2010
    Posts
    1,058

    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.

Similar Threads

  1. Replies: 0
    Last Post: 2nd November 2009, 03:24 PM
  2. Replies: 5
    Last Post: 8th March 2009, 03:14 PM
  3. Replies: 0
    Last Post: 8th April 2008, 08:51 AM
  4. disk drives refuse to mount (fstab/mount)
    By spfdz in forum Using Fedora
    Replies: 10
    Last Post: 13th November 2006, 03:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •