All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] cryptsetup, tcrypt-system and multiple partitions
@ 2013-11-23 23:32 na
  2013-11-25  4:12 ` .. ink ..
  0 siblings, 1 reply; 5+ messages in thread
From: na @ 2013-11-23 23:32 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Hello,

thanks for the great work on tcrypt support in cryptsetup!

I do have one issue tho and I hope I'm doing something wrong.

Here's my setup. I've got one drive , sda, with usual LUKS setup
and another drive , sdb, which is truecrypt encrypted (windows
installation).
The second drive has three partitions , sdb1,sdb2 and sdb3.

Now, I wanted to use cryptsetup via systemd to automagically mount the
second drive partitions.
But, manpages and the code suggest that if a partition is system-encrypted
with truecrypt, one should use the whole device in crypttab and not the
partition (so /dev/sdb and not /dev/sdb1 for example).

If set that way , and the mapped device is listed in fstab accordingly, it
works fine, but only for the first partition, /dev/sdb1 that is. How am I
supposed to mount the other three partitions ?
How would I specify it in crypttab and fstab?

Thanks in advance!

[-- Attachment #2: Type: text/html, Size: 1104 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-27  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-23 23:32 [dm-crypt] cryptsetup, tcrypt-system and multiple partitions na
2013-11-25  4:12 ` .. ink ..
2013-11-26 12:24   ` na
2013-11-26 13:11     ` Milan Broz
2013-11-27  9:24       ` na

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.