This shows you the differences between two versions of the page.
|
software [2008/05/17 02:12] 127.0.0.1 external edit |
software [2009/09/15 06:29] (current) marco1475 added truecrypt howto |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| http://www.google.sk/firefox?client=firefox-a&rls=org.mozilla:en-US:official | http://www.google.sk/firefox?client=firefox-a&rls=org.mozilla:en-US:official | ||
| + | |||
| + | ===== TrueCrypt ===== | ||
| + | |||
| + | Mounting an encrypted NTFS volume under Linux can be a bit problematic. For starters, unlike in Windows, when you do not dismount your volume properly under Linux it gets corrupted very easily. The next time you mount it you will see it only as read-only. However, that is still the easier problem, because at least you **see** that the volume is read-only and the solution is simple: try to mount the volume in TrueCrypt under Windows and Windows will ask you if it should fix the file system errors. Windows' NTFS tools are much better at this than Linux's, so let Windows fix the errors. | ||
| + | |||
| + | The other problem is when the volume **looks** to be writable, but any write attempt is met with a ''Permission denied'' message. The problem here is the NTFS driver under Linux. You need to install ''ntfs-3g'' and then tell TrueCrypt to use it (note the missing dash in the ebuild name): | ||
| + | |||
| + | <code> | ||
| + | emerge -av ntfs3g | ||
| + | </code> | ||
| + | |||
| + | You can let TrueCrypt know it should use ''ntfs-3g'' in two ways. From the command line you can pass it along as the ''--filesystem'' parameter (together with a few other useful flags): | ||
| + | |||
| + | <code> | ||
| + | truecrypt --filesystem=ntfs-3g --fs-options="sync,utf8,uid=$UID,umask=0007" /path/to/truecrypt/volume /path/to/mount/point | ||
| + | </code> | ||
| + | |||
| + | However, while TrueCrypt has a ''Mount Options'' field where you could write this as well, if you do you will be greeted with an error message saying something about "bad fs, bad option." Therefore, if you want to mount a read-write NTFS volume via the TrueCrypt GUI, simply create a symlink in ''/sbin'' named ''mount.ntfs'' that links to ''mount.ntfs-3g'': | ||
| + | |||
| + | <code> | ||
| + | cd /sbin | ||
| + | sudo ln -s mount.ntfs-3g mount.ntfs | ||
| + | </code> | ||
| + | |||
| + | The next time you mount your NTFS volume through the GUI it will be fully writable. | ||