# Cryptsetup ## Crypt disk. ~~~ cryptsetup -y -v luksFormat /dev/sda1 # (Enter YES, uppercase) ~~~ ## Open disk. ~~~ cryptsetup open /dev/sda1 [name_disk] ~~~ ## Create file system. ~~~ mkfs.btrfs -f /dev/mapper/[name_disk] ~~~ ## Mount file system. ~~~ mount /dev/mapper/[name_disk] /mnt/[name_directory] ~~~