Ask Different is a question and answer site for power users of Apple hardware and software. 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

How can I hide a partition (or prevent it from mounting)? I want an effect similar to the recovery partition: it's completely undetectable outside of Disk Utility/the boot menu.

share|improve this question
up vote 1 down vote accepted

Partitions that are mounted in Mac OSX are generally present in the file /etc/fstab that is read upon boot. If you just comment out (i.e. put a # in front of it, and save the file) the line that referes to the drive you do not want to mount, it will not mount upon next boot.

edit FYI. I am not sure which OSX you are on, but since OSX Lion the implementation of /etc/fstab has changed:

share|improve this answer
To make the most of the Q&A format on AskDifferent we prefer to have answers which stand on their own. So instead of having people read through a Apple Discussions thread guessing what exactly and which post you had in mind, can you please summarize the key items here? Or even better: add a sample fstab entry to your answer? (The asker is using 10.8 actually) – patrix Apr 3 '13 at 4:43

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.