If dual boot is used to run a second macOS installation off a different volume on the same hard disk, and that volume is encrypted, booting the first macOS will prompt for the encryption password for the second volume on each boot. However, there is no need or desire to mount the second macOS volume from the first macOS. How can this prompting for the encryption password be disabled?

The solution needs have been verified working on macOS 10.12 Sierra specifically.

1 Answer 1


You can edit /etc/fstab if you don't want a partition to mount on startup. I haven't tried personally but there's a writeup at Mac OS X Hints.

In short, get the UUID of the partition and add something like:

UUID=F0E430C1-5558-3BB3-9FA9-6904B663FEEA  none  hfs  rw,noauto
  • This does not seem to work in macOS 10.12 Sierra. The question specifically mentioned that the answer should apply to Sierra, because there have been changes that might cause previous solutions to no longer work.
    – Make Mark
    Commented Oct 20, 2016 at 19:14
  • It should work. Did you use the correct UUID from DiskUtility? Also you can try to run mount -a in shell to display eventual errors. And to edit /etc/fstab it is recommended to use sudo vifs. Commented Apr 9, 2020 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .