Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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
1  
@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

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.