Re: reinstallation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hey,

On 12/08/2009 Rainer Maier wrote:
> here is the output:

let's see ...

> sv3000:~# dpkg -l cryptsetup
> un  cryptsetup            <keine>           (keine Beschreibung vorhanden)

> sv3000:~# cryptsetup --version
> cryptsetup 1.0.6

interesting. so how did you install cryptsetup. did you compile it
yourself? why don't you use the cryptsetup version distributed within
debian? you can install it with 'apt-get install cryptsetup', this takes
care of required libraries and other dependencies as well (see below).

> 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

ok, so the luks partition itself seems to be fine.

> 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

that one misses the cbc blockcipher at least. try 'modprobe cbc'. if
that doesn't work, check your kernel config. do you run a debian kernel
or a selfcompiled one? in the first case cbc should be available. in the
second you should know what to do to add cbc support to your kernel.

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

ah, that's interesting. so you seem to not have installed dmsetup. do
you have libdevmapper at all? i really suggest to use the debian
cryptsetup package and let the debian package system manage
dependencies. that way you can be sure that all required programs and
libraries are installed allong with cryptsetup.

greetings,
 jonas

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux