Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Arch Linux on a Macbook. I want to automatically mount my Macintosh partition when booting Arch, so I added the following to /etc/fstab:

/dev/sda2   /media/Machintosh hfsplus defaults 1 2

After rebooting, the partition was not mounted, but I could mount it with the following command:

sudo mount /dev/sda2

How can I make Arch Linux automatically mount the partition?

share|improve this question
Use dmesg to look for warning/error when the system tries to mount your partitions. – ByteNudger Mar 2 '12 at 16:33
Normally /media is used by HAL/udev for automounting dynamic disks like a USB drive. I recommend putting the directory Macintosh under /mnt which has often been used for static mounts from fstab. – penguin359 Mar 2 '12 at 18:53

As you said above, creating the directory to attach the mount point to will fix this issue.

share|improve this answer

If hfsplus was built into the kernel as a module and if the partition containg the modules has not yet been mounted (read: entries in fstab have to be in the right order) the hfs-partition cannot be mounted during boot.

Might also happen if your kernel cannot autoload modules.

share|improve this answer
up vote 0 down vote accepted

Creating the mount point fixed the issue:

mkdir /mnt/Machintosh

Also if you want to avoid warnings, mount the volume as read-only, because write is not supported on HFS+ journaled systems (or you can disable journaling, but it is not advised).

share|improve this answer

Some recommendations ,

It's likely /media will be cleared by HAL , so during boot , the path doesn't exist , so mount would fail.

You should either change the mount path , e.g to /mnt/Machintosh ,

Or use user-land tools , e.g udisks to mount it automatically (this will ensure the correct path , e.g /media/VOLUME_NAME)

To use udisks , add a mac.desktop in ~/.config/autostart ,

[Desktop Entry]
Exec=Mount Mac Disk
Name=udisks --mount /dev/XXX

(Note the second solution work only for graphical users)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.