As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [hfs+]

HFS+ is a filesystem used almost exclusively on Apple computers running Mac OS X (or its predecessors since Mac OS 8). The default HFS+ configuration only has read-only support in the Linux kernel.

Filter by
Sorted by
Tagged with
1 vote
1 answer
169 views

How to (is it possible to) fix Mac drive on Linux?

I have an external USB 4 TB hard drive formatted into Mac OS, which has stopped to be determined in Mac OS. It has 2 partitions, one of which is seen under Windows Disk Management tool, which is ...
Dims's user avatar
  • 3,017
0 votes
0 answers
68 views

Why is use of HFS+ disks so complex and demanding in Linux?

There are tons of questions on how to mount, read, write HFS+ disks in linux. Why? What is the issue here that is leading to this particular format type being so poorly supported out of the box on ...
Seph Reed's user avatar
  • 183
0 votes
2 answers
70 views

How to read last 1000 sectors of hard drive

Here's the specific issue in short topics I think might be relevant: I have a Western Digital (my book Studio) external drive. (the old version, bought somewhere around 2009 that has both USB and ...
ProtonSnow's user avatar
0 votes
0 answers
18 views

Is there any brew app or whatever that can format disks using HFS+?

I have several external USB HDD disks that I let macOS format on APFS. Like most of you know, APFS is for SSD disks and this format, fragments HDD disks to hell, making them 20 or more times slower ...
Duck's user avatar
  • 4,414
0 votes
1 answer
57 views

HFSPlus unable to load nls for utf8

I'm trying to mount a .img file created from dmg2img. I have tried the following: sudo modprobe hfsplus sudo mount -o loop -t hfsplus ./path/to/img /mnt/iso This gives me an error: mount: /mnt/iso: ...
Base64__'s user avatar
0 votes
3 answers
694 views

Define partitions to install Linux but considering Security and Administration aspects/concerns

Scenario: for simplicity - consider that exists a hard disk of 500GB to only install Linux (for example Ubuntu, Debian or Fedora) - and if exists a hard disk of 750GB or 1TB then 500GB are dedicated ...
Manuel Jordan's user avatar
0 votes
0 answers
88 views

running umount on HFS filesystem gets stuck in D state, preventing suspend to RAM

I have mounted an HFS file system from a disk image and proceeded to umount it. upon doing so, the umount process entered D state and did not leave. the filesystem is unmounted, but the process ...
les-citrons's user avatar
0 votes
1 answer
131 views

Need help with 7z command

I have a file called BaseSystem.dmg which contains a hfs+ system image as well as other files. I am trying to extract just the hfs+ system image file using 7z from the p7zip-full package. I have tried ...
FlexMcMurphy's user avatar
1 vote
1 answer
1k views

Kernel support for HFS+ or APFS

What is the current status for the Linux kernel's support for APFS or HFS+ (filesystems used by MacOS)? Does it support write, journaling etc? I saw Is an Apple File System (APFS) driver for linux ...
d-b's user avatar
  • 1,641
1 vote
0 answers
85 views

Cloned only a single encrypted HFS+-partition, not the whole disk (ddrescue)

I cloned a single partition type HFS+ encrypted to a file image using ddrescue. The disk is not damaged, I only needed the space on the disk for something. Now I realised that I forgot to clone the ...
johannes.schauer97's user avatar
1 vote
1 answer
174 views

Using MacOS as a file server for Linux backups

I have recently purchased a 2014 Mac Mini to use as a personal file server among other small server tasks. The main purpose of the device is for me to be able to back up files over the network. ...
V. Anderson's user avatar
0 votes
2 answers
295 views

How can I copy files with characters like '?' and ':' from a read-only drive to ntfs?

I have a drive of files recovered from a mac (hfs+) that I'm trying to copy over to an ntfs volume so that they can be accessed from a Windows machine. There are, unfortunately, quite a few files with ...
Wallphoenix's user avatar
2 votes
0 answers
296 views

GParted taking +50h to resize a 900GB partition?

This is the situation: I have a 1TB hard drive with a 900GB HFS+ partition and 480GB of data. I've decided to shrink that partition to 500GB so I have space for another partition. However, GParted ...
Álvaro's user avatar
  • 21
1 vote
1 answer
3k views

How to recover HFS+ Partition Catalog (Possible failing drive)

I have a 1TB External drive that was formatted HFS+ for use with a Macintosh Apple Computer. The drive is completely full. I'm using Linux to try to recover all the files, or to repair the disk and ...
Matt Zabojnik's user avatar
0 votes
0 answers
277 views

How do I shrink a HFS+ partition image?

I recently installed Linux Mint on my laptop, but saved the original operating system (Mac OS) to a partition image. How do I shrink the image? It's 80GB, however the data in the image only takes up ...
LostXOR's user avatar
  • 203
2 votes
0 answers
2k views

fdisk says the partition I'm trying to recover is "unknown" type. Is there anyway to mount this?

I have a corrupt HFS partition that I'm trying to recover data from. >>sudo fdisk -l Device Start End Sectors Size Type /dev/sda1 40 409639 409600 200M EFI ...
daled's user avatar
  • 21
1 vote
1 answer
1k views

"No space left on device" despite 70GB free; can't create any files larger than 8.0MiB on iPad [closed]

OK so this is on an iPad Pro but I'm asking you guys because this is about the underlying Unix system behind iOS/OS X, not really iPad specific. (And yes I spent hours reading all relevant ...
Syclone0044's user avatar
2 votes
2 answers
6k views

How to change UUID after cloning a Mac HDD with `dd`?

After 1 day of googling and try&error I give up and ask for help. Long story short: I cloned internal HDD of my iMac (Mid 2011) to external SDD with dd command. Now I have two identical discs ...
Wlad's user avatar
  • 153
0 votes
1 answer
588 views

Format disk as HFS+, but case sensitive?

Linux can format an (external) disk as HFS+, e.g.: apt-get install gparted hfsprogs, then gparted /dev/sdd, rightclick on the partition to format, choose HFS+, click Apply, quit; mount -t hfsplus /dev/...
Camille Goudeseune's user avatar
2 votes
0 answers
200 views

HFS+ on fedora, many broken directory hard link [closed]

There is a hard disk. In one directory there are around 1000 directories, and every each one hard linked to other location in the same hard. the problem is that in fedora 35 of them I could open, the ...
Arash's user avatar
  • 121
1 vote
2 answers
894 views

How can I relabel an HFS+ partition?

I am attempting to rename an HFS+ partition for a friend to use. After formatting, the volume appears as "untitled". Gparted and Nemo cannot seem to relabel it due to their own limitations for dealing ...
Nat Weiland's user avatar
2 votes
1 answer
2k views

Is it okay to format my Toshiba Canvio Ready Portable Hard Drive to "ext4"?

Today I have bought a new Toshiba 1TB Canvio Ready USB 3.0 Portable External Hard Drive (Black). The specifications page of the portable hard drive says, it has been formated to NTFS file system and ...
Nave Nobel's user avatar
1 vote
1 answer
614 views

Some questions about the stat command for file systems

First of all, I'm completely ignorant regarding shell commands. So, please, be patient. Also, I'm using OS X, but I'm happy with an answer in the generality of Unix if such thing is possible. I'm ...
user40276's user avatar
  • 113
0 votes
1 answer
3k views

Adding new HFS+ partition to fstab

I'm trying to mount at boot a HFS+ core partition in Linux Ubuntu. I followed some other questions here and I came up with this mount command, which seems to properly work, providing read/write access ...
Luca Carlon's user avatar
1 vote
0 answers
1k views

recover files from HSF+ USB External HD, test on CentOS 7 to diagnostic

Note: The result for my question are very different to How to repair a corrupted HFS+ partition from a damaged hard-disk? For another result with ubuntu: https://askubuntu.com/questions/955325/using-...
Chepe Questn's user avatar
0 votes
2 answers
498 views

How to backup Debian system to Apple hfsplus Harddisk?

I think the only option is to move a zip file there but I get when trying to create a directory there on hfsplus file system at /media/masi/Elements/. masi@masi:/media/masi/Elements$ mkdir MasiWeek ...
Léo Léopold Hertz 준영's user avatar
0 votes
2 answers
4k views

ls: cannot access 'filename': No such file or directory (but file exists)

HFS+ formatted drive connected to an Ubuntu box via a SATA/USB cradle. No issues are reported for the partition by fsck.hfsplus. Attempting to run "ls" (or anything else) on the affected files ...
David Young's user avatar
1 vote
0 answers
278 views

Grow an HFS+ Volume on OSX without re-partitioning

I have created a master image using Clonezilla so we can (frequently) re-image a bunch of our machines. The problem I am having lies in the deployment of the image to machines with larger HDDs. The ...
Hobadee's user avatar
  • 196
4 votes
3 answers
2k views

Mount read-write HFS+ drive in OpenWRT

I attached an 'old' SSD drive that I removed from my Mac, to my Turris Omnia via one of its two USB 3 ports. While I've been able to mount the device, it's in read-only mode. I can't seem to mount ...
craig's user avatar
  • 193
1 vote
1 answer
241 views

Migrating a failed hard drive — preventing fsck

I have a hard drive which has suddenly developed unstable sectors. I am able to read it with dd_rescue, so I transferred it completely to another new drive of the same size. The Windows partition is ...
akasaka's user avatar
  • 123
4 votes
4 answers
2k views

cp --reflink=auto for MacOS X

cp --reflink=auto shows following output for MacOS: cp: illegal option -- - Is copy-on-write or deduplication supported for HFS? How can I COW huge files with HFS?
Sergei Krivonos's user avatar
1 vote
1 answer
500 views

What about hfs+ file system, `k3b` iso's and `growisofs` makes my blu-ray disk a coaster?

I backed up my MacBook using a Blu-ray burner on my CentOS server. When I try to mount the Blu-ray disk, $ mount -t hfsplus /dev/sr0 /mnt/bluray I get the error, mount: no medium found on /dev/sr0 ...
xtian's user avatar
  • 583
1 vote
2 answers
83 views

OS X filesystem case insensitivity corrupts vlc command

vlc -I rc from OS X Terminal bash prompt returns error: VLC media player 2.2.3 Weatherwax (revision 2.2.3-3-g0777f11) [0000000100233778] core libvlc error: No plugins found! Check your VLC ...
webappzero's user avatar
1 vote
0 answers
721 views

Can I repair a HFS+ volume if the files were unreadable after "Easus Recovery Wizard" recovery? Testdisk & Diskutil info below

I have someone else's 1.5TB hard drive (WD Elements) that I would like to repair or recover files from. It has possibly been dropped and was constantly around a lot of loud Techno music. It is the ...
forgotstackxpassword's user avatar
0 votes
2 answers
317 views

Add AFP shares to ext3 partition

Is it possible to add an AFP service / protocol to an existing ext3 partition? I have a linux server that I want to share with Apple clients. The clients want to use TIME MACHINE which will only ...
TSG's user avatar
  • 1,464
1 vote
1 answer
2k views

relabel hfs+ volumes

I have read through all the man pages of my hfs-related packages (hfsplus-tools, hfsutils), and I cannot find a way to relabel a hfs+ volume. gparted also seems to be able on my system to do all the ...
Lorenzo Pistone's user avatar
2 votes
0 answers
1k views

fsck.hfsplus cannot repair keys out of order

My MacBook pro suddenly was no longer able to boot. Going into the disk utility from the recovery boot I tried to repair the drive and it failed saying that keys were out of order. I then made a copy ...
Curtis Bezault's user avatar
3 votes
1 answer
713 views

Can't copy or view files with hangul on HFS+

I'm trying to copy a directory of Korean and Japanese music on a Debian Jessie box. The source file system is HFS+J (Mavericks vintage) from a dead Mac, mounted with hfstools: # mount -t hfsplus -o ...
Ruben Schade's user avatar
8 votes
3 answers
9k views

Smarter filetransfers than rsync? [closed]

I have a large file (2-3 GB, binary, undocumented format) that I use on two different computers (normally I use it on a desktop system but when I travel I put it on my laptop). I use rsync to transfer ...
d-b's user avatar
  • 1,641
2 votes
2 answers
1k views

How to Fix Elusive Permissions Problem - Rasp Pi, HFS+, SMB, Mac

I have a Raspberry Pi running Transmission. The main data partition is on a USB drive. The partition is formatted as HFS+ (hfsplus) in case I need to plug it into my Mac. The Mac connects to the ...
rammjet's user avatar
  • 31
1 vote
0 answers
501 views

Arch/OSX - fstab options for shared /home (HFS+) on SSD

I've got an Arch and OS X install sharing an HFS+ (non-journaled) /home partition. My Arch side seems to have issues with the partition. In particular, deleting multiple files causes the drive to ...
Aman Thethy's user avatar
33 votes
1 answer
2k views

Why can Shell builtins not be run with capital letters but other commands can?

Why is this? When I do this CD ~/Desktop It doesn't take me to the Desktop. But this: echo "foo bar" | GREP bar gives me: bar
DisplayName's user avatar
  • 11.3k
6 votes
1 answer
10k views

How to fix invalid map node linkage?

My drive is formated to hfs+ and it is not clean. In example when I'm trying to mount the drive by mount -f -o rw, dmesg displays the error: hfs: Filesystem was not cleanly unmounted, running fsck....
kenorb's user avatar
  • 20k
5 votes
2 answers
1k views

Changing HFSPlus UUID from PartedMagic

I needed to make a clone of my hard drive recently (bad blocks FTW). I was using Clonezilla at the time. However, Clonezilla refused to copy the HFS+ partition, so I did it manually. The problem is ...
Kaz Wolfe's user avatar
  • 485
3 votes
0 answers
2k views

Create bootable hfs+ partition for macbook

I've installed Debian testing on a Macbook Pro (mid 2014) without keeping OS X on the internal SSD. I've used the following GPT partition layout: HFS+ EFI on /boot/efi BTRFS on / SWAP on swap I've ...
Peter Verbrugge's user avatar
4 votes
2 answers
491 views

Is this a so-called "Hybrid" Mac Partition table, and how can I mount this in Linux?

I would like to better understand what is on this hard disk, and how I can mount it into Linux (specifically Debian GNU/Linux, Stable): It was created on a Powerbook g4 "alu book" with the default ...
olaf atchmi's user avatar
3 votes
2 answers
8k views

Changing file permissions on an HFS+ filesystem

I ran the command fdisk -l to find out what my external drive is formatted to, I found out it's uses GPT partitions and the filesystem is HFS+. When I try and create a new folder on the external ...
Code's user avatar
  • 175
2 votes
1 answer
2k views

Can't mount filesystem by offset

I'm having trouble trying to mount a filesystem. Basically, if I mount /dev/sdc1, it works perfectly. But if I mount /dev/sdc with a byte offset, it fails. The filesystem is HFS+ (formatted using an ...
MathematicalOrchid's user avatar
2 votes
1 answer
964 views

Files that do not exist, prevent me from deleting them, corrupted filesystem

Well... It's about on an OS X system (hfs+), but that's unix after all to. :p system has become unbootable, due to a filesystem error... fsck.hfsplus fails because .... ... ** Checking ...
chris's user avatar
  • 23
10 votes
3 answers
109k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
landroni's user avatar
  • 10.1k