Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get install cryptsetup
- cryptsetup luksFormat /dev/sda5
- cryptsetup luksOpen /dev/sda5 home
- mkfs.ext3 /dev/mapper/home
- echo "home /dev/sda5 none luks" >> /etc/crypttab
- echo "/dev/mapper/home /home ext3 defaults 0 2" >> /etc/fstab
- update-initramfs -u -k all
- reboot
Add Comment
Please, Sign In to add comment