howtos:encrypted_disk_partition
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | howtos:encrypted_disk_partition [02/12/2018 21:34] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Quick' | ||
+ | |||
+ | I'm encrypting the first partition on the disk called hdc. | ||
+ | |||
+ | Make luks device: | ||
+ | < | ||
+ | cryptsetup -y --cipher aes --key-size 128 luksFormat /dev/hdc1 | ||
+ | </ | ||
+ | If you choose to use sha256 instead, you will get something like this: | ||
+ | < | ||
+ | Failed to setup dm-crypt key mapping. | ||
+ | Check kernel for support for the aes-cbc-essiv: | ||
+ | </ | ||
+ | This is because you're using the geode_aes kernel module which only support sha128. You can get it to " | ||
+ | There is however a speed penalty when doing it like this. I don't know why though, maybe there is some hardware acceleration involved when using the geode_aes module. | ||
+ | If you play with Truecrypt you will also see some errors related to this problem. You can probably get it working using a sha128 but I haven' | ||
+ | |||
+ | Open the LUKS: | ||
+ | < | ||
+ | cryptsetup luksOpen /dev/hdc1 encdisk | ||
+ | </ | ||
+ | |||
+ | Make filesystem: | ||
+ | < | ||
+ | mkfs.ext3 -j -m 1 -O dir_index, | ||
+ | </ | ||
+ | |||
+ | Mount device for use: | ||
+ | < | ||
+ | mount / | ||
+ | </ | ||
+ | |||
+ | Unmount device: | ||
+ | < | ||
+ | umount / | ||
+ | cryptsetup luksClose encdisk | ||
+ | </ | ||
+ | |||
howtos/encrypted_disk_partition.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1