cryptsetup luksFormat /dev/sdb1

Category: Administration

cryptsetup luksFormat /dev/sdb1

Initialize a LUKS-encrypted device

Use `cryptsetup luksFormat /dev/sdb1` to initialize a LUKS-encrypted device. Helpful when you need this quickly on a Linux server.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.