DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rainer Maier <RaMaier@gmx.de>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] reinstallation
Date: Wed, 12 Aug 2009 08:19:48 +0200	[thread overview]
Message-ID: <4A825F04.5070109@gmx.de> (raw)
In-Reply-To: <20090811233447.GC31949@resivo.wgnet.de>

Hi Jonas,
here is the output:

--------------------------------------------------------------------------------------------------------
sv3000:~# dpkg -l cryptsetup
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/Fehlgeschl. Konfiguration/
          Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/Halten/R=Neuinst notw/X=beide (Status, Fehler: 
GROSS=schlecht)
||/ Name                        Version                     Beschreibung
+++-===========================-===========================-======================================================================
un  cryptsetup                  <keine>                     (keine 
Beschreibung vorhanden)
sv3000:~#



--> directly in the kernel.

--------------------------------------------------------------------------------------------------------
sv3000:~# cryptsetup --version
cryptsetup 1.0.6
--------------------------------------------------------------------------------------------------------
sv3000:~# cryptsetup luksDump /dev/sda2
LUKS header information for /dev/sda2

Version:        1
Cipher name:    aes
Cipher mode:    cbc-essiv:sha256
Hash spec:      sha1
Payload offset: 1032
MK bits:        128
MK digest:

MK salt:

MK iterations:  10
UUID:           6c2a5824-5594-4516-885b-4a82a5be9554

Key Slot 0: DISABLED
Key Slot 1: ENABLED
         Iterations:             115171
         Salt:

         Key material offset:    136
         AF stripes:             4000
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
sv3000:~#

--------------------------------------------------------------------------------------------------------
sv3000:~# cat /proc/crypto
name         : aes
driver       : aes-i586
module       : aes_i586
priority     : 200
refcnt       : 1
type         : cipher
blocksize    : 16
min keysize  : 16
max keysize  : 32

name         : md5
driver       : md5-generic
module       : kernel
priority     : 0
refcnt       : 1
type         : digest
blocksize    : 64
digestsize   : 16

sv3000:~#

--------------------------------------------------------------------------------------------------------
sv3000:~# dmsetup targets
-su: dmsetup: command not found
sv3000:~#


I cut the salt and digest.
Best regards
Rainer


Jonas Meurer schrieb:
> Hello Rainer,
> 
> On 12/08/2009 RaMaier@gmx.de wrote:
>> Here my description what has happened. Hopefully it becomes clearer now.
>>  
>> What I wrote were the initial steps I perforemed when I first set up
>> the partition (/dev/sda2). Again I did not repeat them now.
>> After my old PC had died I installed the RAID controller in a new PC
>> and installed Debian. (/dev/hda) cryptsetup is now already included.
>> (Thanks for the hint Arno)
>> Since it's a hardware controller the files on the not encrypted
>> partition (/dev/sda1) were immediately available.
>> Now I am looking for the steps I have to perform to access the data in
>> the encrypted partition (/dev/sda2) again, without destroying them.
>>
>> When I now enter
>> cryptsetup luksOpen /dev/sda2 tresor
>> I get 
>> Command failed: No steup backend available
> 
> please give some more information. i.e. paste the output of the
> following commands (as root):
> 
> # dpkg -l cryptsetup
> 
> # cryptsetup --version
> 
> # cryptsetup luksDump /dev/sda2
> 
> # cat /proc/crypto
> 
> none of the commands modifies your partition, they only print
> information about versions, partition types, crypto ciphers, kernel
> crypto support, etc.
> 
> greetings,
>  jonas
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> dm-crypt mailing list
> dm-crypt@saout.de
> http://www.saout.de/mailman/listinfo/dm-crypt

  parent reply	other threads:[~2009-08-12  6:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-11 13:40 [dm-crypt] reinstallation Rainer Maier
2009-08-11 14:01 ` Hannes Erven
2009-08-11 21:25   ` RaMaier
2009-08-11 22:06     ` Moji
2009-08-11 22:40       ` RaMaier
2009-08-11 23:34         ` Jonas Meurer
2009-08-11 23:36           ` Jonas Meurer
2009-08-12  6:19           ` Rainer Maier [this message]
2009-08-12  9:39             ` Jonas Meurer
     [not found]     ` <20090811214229.GA4796@tansi.org>
2009-08-11 22:25       ` RaMaier
     [not found]         ` <200908111839.19827.samm@sammaloney.com>
2009-08-11 22:54           ` RaMaier
2009-08-11 23:01             ` Sam
2009-08-12  6:09               ` Rainer Maier
2009-08-12  6:51             ` Milan Broz
2009-08-12 12:25               ` Rainer Maier
  -- strict thread matches above, loose matches on Subject: below --
2009-08-11 22:40 Sam

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=4A825F04.5070109@gmx.de \
    --to=ramaier@gmx.de \
    --cc=dm-crypt@saout.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox