[dm-crypt] Truecrypt system partition support
gmazyland at gmail.com
Sun Jun 23 17:33:13 CEST 2013
On 21.6.2013 15:58, Jan Janssen wrote:
> On Thursday 20 June 2013 18:50:10 Milan Broz wrote:
>> well, you are probably the first real user I know about who tried system
>> encryption truecrypt mapping :) So it is quite possible there are some
> That's probably because it's not well advertised. I found out about it by
> accident and wanted to give it a try.
Yes, that's true.
The shared device for system encryption is fixed in devel git
Please let me know if there is any other problem.
> Also, it took me a while to figure out (thanks to the manpage) that you have
> to use /dev/sda to open in system mode. It would be useful if cryptsetup
> could either figure out where to look for its offset from /dev/sda2 like
> the "real" truecrypt does or at least give a hint that in system mode the
> drive should be used instead of the partition.
Well, the Truecrypt header is not on partition for system encryption, it
is outside of it, that's why it is done this way.
Anyway, I added hint as well if header is not detected
I know automatic detection is better (and will work on Windows) but with Linux,
there can be virtualized systems where partition is used as "whole device"
for some Windows VM.
Also in some cases (LVM) it can be tricky to detect partitions and top level devices.
Also partition can be in different (security) context than the whole device.
More information about the dm-crypt