Super User is a question and answer site for computer enthusiasts and power users. 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 was just reading Little Brother (the Cory Doctorow book) and I thought about how awesome it would be if, on startup, a computer asked for a password. Depending on the password, it could open different partitions.

Say I was captured by someone and I had my computer - they could demand the password, and I'd give the innocuous one that unlocks the non-sensitive partition. Is this possible?

share|improve this question
except it wasn't fully answered – tekknolagi Oct 23 '11 at 18:00
up vote 3 down vote accepted

TrueCrypt supports adding a single "hidden volume" to an encrypted container or partition. It can include a hidden operating system as well. (The secret data should be located in the hidden volume.)

If your system uses LUKS, you could modify the initramfs to conditionally unlock multiple partitions, but this is less secure as anyone can extract the unlock script.

share|improve this answer
would this function like it did in Little Brother? – tekknolagi Oct 23 '11 at 18:28
@tekknolagi: Yes. – grawity Oct 23 '11 at 18:30
Just coming back on this - MAN THIS IS FABULOUS. – tekknolagi Feb 24 '12 at 4:13

You must log in to answer this question.

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