Created
December 14, 2016 10:40
-
-
Save hennevogel/7b53e19b6a074b604111cfe462853ff7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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