I used the advice given at the end of this article
to mount a TrueCrypt volume by double-clicking it. But I can't unmount it without opening TrueCrypt (umount: /media/truecrypt1 is not in the fstab (and you are not root)
) so being able to mount it without opening the program is kind of a moot achievement. Any suggestions?
Suggestion One
You can use a terminal to unmount it.
For example, I have an encrypted file named
enc1
that is on/home/desgua/Dropbox/
, so to mount it I should use:truecrypt --mount /home/desgua/Dropbox/enc1 /mnt/mymountpoint/
And to unmount:
truecrypt -d /home/desgua/Dropbox/enc1
or simple:
truecrypt -d
(which should unmount every truecrypted mounted files).
Suggestion Two
Also you can create a launcher to unmount it:
1) Paste this at terminal:
gedit ~/Desktop/unmounttruecrypt.desktop
,2) Then paste this into the file and save:
3) Now look at your desktop and drag the file to the Launcher.
.
Suggestion Three
Make a script to unmount it for you:
1) Paste this at terminal:
gedit ~/Desktop/utscript
,2) Then paste this into the file and save:
4) Paste this at terminal:
chmod +x ~/Desktop/utscript
try adding it to the /etc/fstab. That worked for me.
If you're having unmount issues with TrueCrypt, try going to Settings > Preferences > System Integration and check 'Do not use kernel cryptographic services'.
Stop using your volume and make sure no other program's current working directory is on the volume. Then try:
This will try to unmount all unused filesystems on your computer, including your TrueCrypt volume.