Skip to content

Instantly share code, notes, and snippets.

@hennevogel
Created December 14, 2016 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hennevogel/7b53e19b6a074b604111cfe462853ff7 to your computer and use it in GitHub Desktop.
Save hennevogel/7b53e19b6a074b604111cfe462853ff7 to your computer and use it in GitHub Desktop.
umount /home
cryptsetup luksFormat /dev/sdb6
# choose the same password as for your login on this machine
cryptsetup luksOpen /dev/sdb6 home_crypto
mkfs.ext4 /dev/mapper/home_crypto
mount /dev/mapper/home_crypto /home
mv /home_new /home
# login again and come back to IRC :-)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment