Skip to content

encrypted filesystems

soul9 edited this page Apr 8, 2015 · 2 revisions

install cryptsetup package and follow this guide to setup your partitions

http://wiki.centos.org/HowTos/EncryptedFilesystem

to automatically mount them add appropriate entries in /etc/crypttab and /etc/fstab. on startup, sabotage's rc.boot automatically mounts them. https://github.com/sabotage-linux/sabotage/commit/de2d37cc2bede1d8df1521ae6725b5074d522254

the other infrastructure needed is already installed by default. https://github.com/sabotage-linux/sabotage/commit/310a4497ee9377606405c8a205b99bce97a3eff5

the required kernel parameters are enabled as well.

squash-tool supports this automatically.