Linux: Creating an encrypted home partition with dm-crypt

Creating an encrypted home partition is a great way to protect your personal files and data, it makes it unreadable to those without access to your passphrase to open the partition at boot. If they do not have your passphrase (or you forget it!) then home will not be unlocked and renders the data unreadable and unrecoverable as it is AES encrypted, this is wonderful for those with laptops and personal files they don’t wish to risk the chance of losing.

Passing parameters to kernel with builtin command line

This guide is about using the Linux kernels builtin command line to pass parameters to use at boot. This can be set within your GRUB config of course, but for a movable kernel setting the options within the kernel itelf is best. This way your custom options will persist across computers, ideal if your kernel is on a flash drive.