Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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

1 Answer 1

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:

https://discussions.apple.com/thread/3582968?start=0&tstart=0

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

 
discard

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.