Skip to content

Instantly share code, notes, and snippets.

@skarllot
Created July 28, 2012 15:17
Show Gist options
  • Save skarllot/3193719 to your computer and use it in GitHub Desktop.
Save skarllot/3193719 to your computer and use it in GitHub Desktop.
Encrypted (LUKS) home partition
# /etc/crypttab
home1 /dev/sdX none luks,tries=3
home2 /dev/mapper/vg_main-lv_home none luks,tries=3
# /etc/fstab
/dev/mapper/home1 /home1 ext4 defaults 0 2
/dev/mapper/home2 /home2 ext4 defaults 0 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment