Skip to main content

Cryptsetup mit LUKS - Festplattenverschlüsselung

Quelle: https://linuxwiki.de/cryptsetup

1. LUKS-Partition initialisieren

 

cryptsetup luksFormat -c aes-cbc-essiv:sha256 -s 256 /dev/sdc1

Ich habe hier z.b. ein RAID1 Device ausgewählt z.b. /dev/md0. Somit ist das gesamte RAID 1 verschlüsselt.

 

2. LUKS-Partition öffnen und mapping erstellen (/dev/MAPPING)

Öffnen mit Passwort
cryptsetup luksOpen /dev/sdc1 cr_crypto