Linux – fstab not mounting a disk on boot

arch linuxautomountingfstab

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?

Best Answer

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

Related Question