All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Janssen <medhefgo@web.de>
To: Milan Broz <gmazyland@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Truecrypt system partition support
Date: Fri, 21 Jun 2013 15:58:58 +0200	[thread overview]
Message-ID: <1468118.MD1b3jT5q3@brinja> (raw)
In-Reply-To: <51C332C2.1000900@gmail.com>

On Thursday 20 June 2013 18:50:10 Milan Broz wrote:
> Hi,
> 
> 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
> problems.

That's probably because it's not well advertised. I found out about it by
accident and wanted to give it a try.

> Please can you describe exactly you configuration (I think I understand the
> problem but exact description could be better.)
> Why is main device used? Mapped/mounted other partition or something else?
> Should be easy to fix I think (we have already --shared option for plain
> mode).
> 
> (If you are able to map it with normal truecrypt in Linux, output of lsblk
> with encryption mapping active should be enough for me.)
> 
> Thanks,
> Milan

It's a simple single drive layout with a boot, windows and arch patition:
NAME           FSTYPE      LABEL   UUID                                 MOUNTPOINT
sda                                                                     
├─sda1         ext4        Boot    bdf8d95e-3a5a-4944-aff1-5ce8107ee679 /boot
├─sda2                                                                  
│ └─truecrypt1 ntfs        Windows 72682F78682F39ED                     /mnt/windows
└─sda3         crypto_LUKS         d998f50f-c40b-4d53-b683-90bd30da1272 
  └─system     ext4        Arch    52b8c62b-23df-4b07-875b-16da3cb0cb91 /

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. Or maybe give the drive
to the system option like this:
    sudo cryptsetup --tcrypt-system=/dev/sda tcryptDump /dev/sda2

Jan

  reply	other threads:[~2013-06-21 13:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 10:03 [dm-crypt] Truecrypt system partition support Jan Janssen
2013-06-20 16:50 ` Milan Broz
2013-06-21 13:58   ` Jan Janssen [this message]
2013-06-23 15:33     ` Milan Broz
2013-06-23 21:06       ` Jan Janssen
2013-06-24  5:48         ` Milan Broz
2013-06-24 13:55           ` Jan Janssen
2013-06-30  9:11             ` Milan Broz
2013-06-30 11:44               ` Jan Janssen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1468118.MD1b3jT5q3@brinja \
    --to=medhefgo@web.de \
    --cc=dm-crypt@saout.de \
    --cc=gmazyland@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.