DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Replacing cryptoloop with dm-crypt in Debian with twofish and offset
@ 2011-04-13 10:04 Admin bonnefoy.eu
  2011-04-13 13:21 ` Arno Wagner
  0 siblings, 1 reply; 5+ messages in thread
From: Admin bonnefoy.eu @ 2011-04-13 10:04 UTC (permalink / raw)
  To: dm-crypt

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

Hello,

I had offset with cryptoloop using twofish. But i'm unable to mount it with
cryptosetup.
I used to mount this like that:

losetup -e twofish -o 2560 /dev/loop0 /dev/sdb1 => enter passphrase
mount -t ext3 /dev/loop0 /home/

I tried with your command :
cryptsetup create -c twofish -o 2560 testAB /dev/sdb1
and then :
mount /dev/mapper/testAB test/

i tried with --skip option as well without success

But it's not working (wong FS type).

As I change my kernel to 2.6.32 recently, cryptoloop is not available any
more natively. I recompiled the module and I'm still able to mount file
system as before.

Do you see something wrong?

Thanks for help

Antoine

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [dm-crypt] Replacing cryptoloop with dm-crypt in Debian with twofish and offset
@ 2011-04-14 14:00 Admin bonnefoy.eu
  2011-04-14 16:48 ` Arno Wagner
  0 siblings, 1 reply; 5+ messages in thread
From: Admin bonnefoy.eu @ 2011-04-14 14:00 UTC (permalink / raw)
  To: dm-crypt

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

Hello Milan, Arno

Thanks a lot  for your inputs, it's working fine now!

With Debian 5.x, with losetup, I used previously  for kernel < 2.6.32:
losetup -e twofish -o 2560 /dev/loop0 /dev/sdb1
mount -t ext3 /dev/loop0 /home/

I'm now using cryptsetup 1.1.3 in Debian 6.0 with this command:
cryptsetup create -c twofish -o 5 --skip 5  testAB /dev/sdb1
mount /dev/mapper/testAB /home


Thanks again

regards

Antoine

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

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

end of thread, other threads:[~2011-04-14 16:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-13 10:04 [dm-crypt] Replacing cryptoloop with dm-crypt in Debian with twofish and offset Admin bonnefoy.eu
2011-04-13 13:21 ` Arno Wagner
2011-04-13 13:57   ` Milan Broz
  -- strict thread matches above, loose matches on Subject: below --
2011-04-14 14:00 Admin bonnefoy.eu
2011-04-14 16:48 ` Arno Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox