Can't open luks disk right after format

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

 



# cryptsetup --hash sha1 --cipher cbc-essiv:sha256 --key-size 256 luksFormat /dev/turtle/var2
# cryptsetup luksOpen /dev/turtle/var2 /dev/mapper/turtle-var2_crypt
Enter LUKS passphrase:
Command failed: No key available with this passphrase.

The strange thing is that I enter the same phrase for luksOpen that I
used for luksFormat.  I must be overlooking something.  Could anyone
help me out?

Thanks.
Ross Boylan

Background:

/dev/turtle/var2 is an lvm 2 logical volume.

The options mimic those for other encrypted volumes (which are working);
they were chosen by the Debian Lenny installer.  More specifically, I
ran cryptsetup luksDump /dev/mapper/turtle-var and copied the
information it showed.

I updated /etc/crypttab before luksOpen.

I had to enter the passphrase twice in luksFormat, and I tried twice
with luksOpen.

I'm running under emacs.

I'm planning to replace my existing /var with one with more inodes.

cryptsetup          2:1.0.6-7
running on Debian Lenny, amd64 architecture, Xeon chips.
Bleeding edge linux-image-2.6.29-trunk-amd64,
2.6.29-1~experimental.2~snapshot.13314 because of wifi driver issues.


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[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