Guest User

Untitled

a guest
Jul 22nd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1.  
  2. apt-get install cryptsetup
  3. cryptsetup luksFormat /dev/sda5
  4. cryptsetup luksOpen /dev/sda5 home
  5. mkfs.ext3 /dev/mapper/home
  6. echo "home /dev/sda5 none luks" >> /etc/crypttab
  7. echo "/dev/mapper/home /home ext3 defaults 0 2" >> /etc/fstab
  8. update-initramfs -u -k all
  9. reboot
Add Comment
Please, Sign In to add comment