Code: Alles auswählen
sda6_crypt UUID=41b2f2c4-789f-4068-8ed4-910222835ce2 /dev/disk/by-uuid/C5E1-C366:/cryptkeyfile.txt:10 luks,keyscript=/lib/cryptsetup/scripts/passdev
Code: Alles auswählen
sda6_crypt UUID=41b2f2c4-789f-4068-8ed4-910222835ce2 /dev/disk/by-uuid/C5E1-C366:/cryptkeyfile.txt:10 luks,keyscript=/lib/cryptsetup/scripts/passdev
Code: Alles auswählen
> cryptsetup luksDump /dev/sda6
LUKS header information for /dev/sda6
Version: 1
Cipher name: aes
Cipher mode: xts-plain64
Hash spec: sha256
Payload offset: 4096
MK bits: 512
MK digest: e2 60 c1 8d 05 c3 8d b4 bd ec 43 f3 d5 f2 19 89 39 e9 fa 82
MK salt: e4 37 d7 96 d1 d1 b2 c9 d0 2c d8 ca 53 ba 34 e8
fd 4f 4f 1a 79 20 01 18 0b d5 bb 6b 91 a2 b8 71
MK iterations: 183750
UUID: 41b2f2c4-789f-4068-8ed4-910222835ce2
Key Slot 0: ENABLED
Iterations: 1471263
Salt: 81 4a c8 88 dc 1e 27 08 f1 8a 12 5a 19 6d d1 d1
fe 92 a6 2e 2b 46 83 90 b8 83 15 34 00 e0 01 84
Key material offset: 8
AF stripes: 4000
Key Slot 1: ENABLED
Iterations: 1488371
Salt: dd 8f 79 2a de b1 1b 87 2a f6 68 a3 30 ed d7 4f
3a 6d 33 43 39 24 5e 63 9f 0d c6 67 50 b0 2d 40
Key material offset: 512
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
Das ist etwas, was ich noch nie gebraucht habe. Ich vermute mal, man braucht das bei verschlüsselten Betriebssystem-Partitionen...McAldo hat geschrieben:02.04.2019 15:57:55Wie muss eine entsprechende Zeile in /etc/crypttab aussehen?
Die Frage kann ich Dir nicht beantworten, da Du ja verschweigst, nach welcher Anleitung Du vorgegangen bist.
Code: Alles auswählen
sda2_crypt UUID=1111dddd-ff22-4aa4-aa88-05d883f28656 none luks,tries=3,keyscript=/etc/decryptkeydevice/decryptkeydevice_keyscript.sh
Ich habe mehrere Anleitungen gelesen, kann leider nicht mehr genau sagen welche alles.
Code: Alles auswählen
Unable to stat /dev/disk/by-uuid/C6E0-C568
cryptsetup (sda5_crypt): cryptsetup failes, bad passwort or options?
cryptsetup (sda5_crypt): maximum number of tries exceeded
cryptsetup: going to sleep for 60 seconds...
Code: Alles auswählen
update-initramfs -u -k all
Code: Alles auswählen
$ update-initramfs -u -k all
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
cryptsetup: WARNING: root target sda5_crypt uses a key file, skipped
cryptsetup: WARNING: sda5_crypt's key file /dev/sde is not on an encrypted root FS, skipped