This tutorial shows how to setup and use an encrypted file system on your GNU/Linux operating system.
The following commands can be used when setting up an encrypted file system:
Wipe the device with one pass of zero data followed by one pass of random data:
dd if=/dev/zero of=/dev/”device””partition” bs=1M
dd if=/dev/urandom of=/dev/”device””partition” bs=1M
#where “device””partition” is the device ( and partition ) to be used.
Setup an unformatted partition on the device…