Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have 320 GB hard disk on my laptop and I have installed Ubuntu 11.04 on 1 partition and another partition is reserved for storage. I want to protect that storage partition with a password. How can I do that?

share|improve this question
what do you mean by protect? Keep confidential, or prevent deletion? – Rory Alsop May 5 '11 at 9:05


Package in Natty

From the website: Free open-source disk encryption software for Windows 7/Vista/XP, Mac OS X, and Linux. Some of the main Features:

  • Creates a virtual encrypted disk within a file and mounts it as a real disk.
  • Encrypts an entire partition or storage device such as USB flash drive or hard drive.
  • Encryption is automatic, real-time and transparent.

    More information about the features of TrueCrypt can be found in the documentation.

And to finish it off a nice (term used loosly...) youtube video on using truecrypt in Ubuntu 11.04

share|improve this answer

when you're creating new partition trough system -> administration -> disk utility, you can set "encrypt whole partition". Then, always when you will try to mount it, it will ask you for password.

enter image description here

you can backup your data somewhere else, create encrypted partition and put them back

share|improve this answer

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.