How To Linux Hard Disk Encryption With LUKS [ cryptsetup encrypt command ]

Originally published at: https://www.cyberciti.biz/security/howto-linux-hard-disk-encryption-with-luks-cryptsetup-command/


Dear nixCraft,


    I carry my Linux powered laptop just about everywhere. How do I protect my private data stored on partition or removable storage media against bare-metal attacks where anyone can get their hands on my laptop or usb pen drive while traveling?


–Sincerely,
Worried about my data.