Nerdier

Adjective: Comparative form of nerdy: more nerdy.

luks partition notes

Just some notes on making an encrypted partition.

 

yum install cryptsetup pv
fallocate -l 100G /srv/crypt
losetup /dev/loop0 /srv/crypt
mkfs.ext4 /dev/loop0
cryptsetup -y -v luksFormat /dev/loop0
cryptsetup luksOpen /dev/loop0 crypt
pv -tpreb /dev/zero | dd of=/dev/mapper/crypt bs=128M
mkfs.ext4 /dev/mapper/crypt

Leave a Reply

Your email address will not be published. Required fields are marked *