View previous topic :: View next topic |
Author |
Message |
axlalf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2009 Posts: 23
|
Posted: Sat Aug 22, 2009 10:48 pm Post subject: [solved] dm crypt partition und key passen nicht mehr |
|
|
hi leute
ich habe ein problem, und zwar habe ich mehrere partitionen mit dm-crypt verschlüsselt.
alle partitionen bis auf eine funktionieren...
und zwar erhalte ich folgende fehlermeldung
Code: | # cryptsetup luksOpen /dev/sda7 media --key-file /mnt/keys/key.sda7
Command failed: No key available with this passphrase. |
alle anderen partiitionen kann ich ohne problem entschlüsseln/ mounten
der key ist 100%ig richtig, ich habe ihn mit der md5sum des backup keys überprüft und der backupkey funktioniert auch nicht
ich muss sagen, dass ich die partitionierung geändert habe. die partition die jetzt sda7 ist war vorher sda8 - warum auch immer gparted das geändert hat - meint ihr das dm-crypt daran hängt?
luksDump gibt mir aber auch aus, dass die partition noch eine funktionierende luks Partition ist mit einem Schlüssel...
ich habe auch versucht die schrittfolge der entwickler bei fehlfunktionen zu befolgen:
Code: | # ls -l /dev/mapper/control
lrwxrwxrwx 1 root root 16 23. Aug 00:06 /dev/mapper/control -> ../device-mapper
|
Code: | # dmsetup targets
zero v1.0.0
mirror v1.0.20
crypt v1.6.0
striped v1.1.0
linear v1.0.3
error v1.0.1
|
und alle cipher die ich brauche sind im kernel (die anderen partitionen funktionieren ja)
hoffe ihr könnte mir helfen
mfg
axlalf
Last edited by axlalf on Tue Sep 01, 2009 12:06 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hupf Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/95602605547b8b6c614193.gif)
Joined: 11 Sep 2005 Posts: 112 Location: Germany
|
Posted: Sun Aug 23, 2009 2:02 pm Post subject: |
|
|
Quote: | Code: | # cryptsetup luksOpen /dev/sda7 media --key-file /mnt/keys/key.sda7 |
|
Hau mich, aber wenn die Partition vorher sda8 hieß, hast du dann den key auch umbenannt bzw. mal den key.sda8 für (jetzt) sda7 probiert? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
axlalf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2009 Posts: 23
|
Posted: Sun Aug 23, 2009 2:48 pm Post subject: |
|
|
jo hab ich ^^
ich hab umbenannt und auch der backupkey will nich ^^
mfg
axlalf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
axlalf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2009 Posts: 23
|
Posted: Tue Aug 25, 2009 8:58 pm Post subject: |
|
|
hat keiner ne idee?
ein update auf cryptsetup version 1.0.7 hat auch nichts gebracht (das hat das problem bei einem kumpel gelöst)
luksDump liefert mir folgende informationen:
Code: |
#cryptsetup luksDump /dev/sda7
LUKS header information for /dev/sda7
Version: 1
Cipher name: aes
Cipher mode: lrw-benbi:sha256
Hash spec: sha1
Payload offset: 3016
MK bits: 384
MK digest: 58 e4 55 75 71 f1 e6 41 de 3e b1 01 4e 73 9f bf 95 ee 3c 67
MK salt: 0e 6c d2 05 35 38 ed 7a 02 d3 4b d3 40 55 58 59
5d 2b 46 d1 3c 2f 3c f3 2d 33 fd da 43 64 bf ea
MK iterations: 10
UUID: c1cc3bc5-4f5f-4333-944c-75ff1b95b1f2
Key Slot 0: ENABLED
Iterations: 171048
Salt: a5 37 30 45 3e ed 01 24 80 90 bb d8 9e f1 8c f0
fd 21 bd 74 06 4f 98 91 2d ed d8 85 b6 7b b5 da
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
|
das müsste also eigentlich alles stimmen....
ich bin echt am verzeifeln da sich auf der platte viele viele bilder befinden -.-
mfg
axlalf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
axlalf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2009 Posts: 23
|
Posted: Sat Aug 29, 2009 7:33 am Post subject: |
|
|
so leute hat sich erledigt - ich brauche den speicherplatz, also hab ich die partition neu angelegt...
danke für eure hilfe
mfg
axlalf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Roman_Gruber Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Tue Sep 01, 2009 11:04 am Post subject: |
|
|
schreibst du oben nochn solved in den ersten beitrag, damit man ihn nicht nochmals anschaut, danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|