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

I made a journaled, Encrypted Partition on 10.7.4

Now every time in startup it asks for the partition password. I would like to unlock and use this partition when ever I want not every time. So I want Mac leave it and do not ask me the password automatically at the startup every time iMac, Mac OS X (10.7.4)

share|improve this question

Add the following line to the /etc/fstab file:

LABEL= none hfs ro,noauto

Being <label>the name of the encrypted volume.

If you are just wondering, ro means read only (you should use rwinstead, if you want to read and write after mount).

Note that the file could not exist, therefore you'll have create it. To do so just open /Applications/Utilities/Terminal and type:

  1. sudo vi /etc/fstab
  2. This will prompt the password. Type it. It won't be shown, don't worry.
  3. Add the already mentioned line.
  4. Hit Escape, type :wq, and hit Enter
share|improve this answer
You might consider using nano in Apple SE. This is not SU. – Max Ried Jul 16 '12 at 8:56
The instructions are pretty straight forward, there's no need to be a Super User to use them. And he can still use whatever program he wants, of course, this was just a tip. Never used Nano, though. – Thecafremo Jul 16 '12 at 9:28
If you're on Mac vi is way off the used user experience. nano is easier. Try it! – Max Ried Jul 16 '12 at 11:30

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.