First you must choose which encryption software to use. I use Truecrypt but it is not especially convenient to use on Linux. I recommend using the encryption that comes with Linux called cyptsetup because it can be set up to mount encrypted partitions during system startup. The way that I use Truecrypt is to log on as root when the computer finishes its startup, then I manually mount the /home partition which is encrypted with Truecrypt.
Here is a link to a tutorial on cryptsetup.
http://techpulp.com/2009/02/how-to-e...yptsetup-tool/
1. First you must back up all of the data that is currently on the partition. The encryption process will wipe out any data that is currently stored there. Then you encrypt the partition. Then you mount the partition. Then you copy data back onto the partition.
2. Both Truecrypt and cryptsetup use on-the-fly encryption. That means that the data is always encrypted on the disk. It is decrypted when you read the disk. New data is encrypted when it is written to the disk.
Note that both of these methods only work on the encrypted partition. If you read a file into memory and if Linux then writes that file into its swap partition the file will be decrypted in the swap partition. You can solve this problem if you encrypt your swap partition.
You can find more tutorials by searching Google or some other search engine for "cryptsetup howto".