Take the 2-minute tour ×

I use both Windows 7 and openSUSE 12.2.

The system partitions are both secured at boot time (BitLocker and LVM).

I want to share data between OSes, but the data must be encrypted too.

I ran into TrueCrypt. Seems working very good. One problem: it will ask me for password at every boot. Since boot partitions are secured I'm comfortable in storing the password "plaintext" on an encrypted drive.

Linux part of the question

I found this question partially answering the Linux part of the question. In fact, implementing the mount.truecrypt script always prompts me for encryption password, which is what I don't want

Then, is it possible to specify mount options in fstab (that is, again, encrypted on system drive) to automatically provide password?

An alternate way of specifying the password is hard coding it in mount.truecrypt script with -p option, but has the disadvantage of requiring all drives using the same password

Windows part of the question

What about auto-mounting volumes in Windows at boot/login time without typing the password and without being asked for UAC?

share|improve this question
You can mount automatically volumes under Windows if the boot password is the same as the volume password. All you need to do is to setup volumes as favorite in the TrueCrypt GUI. –  mnmnc Dec 21 '12 at 10:02
I'm sorry. I use BitLocker to secure Windows boot, not TrueCrypt. So TC password can't be the same as the boot "password" (because I use USB token) –  djechelon Dec 21 '12 at 10:13
Create a .bat file containing truecrypt command line to pass the password and mount the selected volumes automatically. Here you can find all the necessary parameters: truecrypt.org/docs/?s=command-line-usage . Place the bat file in the startup folder. –  mnmnc Dec 21 '12 at 10:16
@mnmnc I updated my question not because I don't believe your suggestion, but I because haven't tried it yet. Please don't mind if I leave the Windows part open –  djechelon Dec 21 '12 at 10:52

Your Answer



Browse other questions tagged or ask your own question.