Skip to content

Encrypting Linux before the installation.

Published: at 10:21 PM

This blog post is just a refresher, the references have more details.

It goes without saying, that you should do a backup, save your MID (most important data) before you do a reinstall etc. Find the manual on how to access the BIOS. Smash the DEL/F8/F12 key w/e.

If you have a brand new machine. Usually those are the pre requirements:

TL.DR.:

IMPORTANT Don’t format the EFI Bootloader, so you can keep Windows.

Download the distro and make a bootable USB stick

fdisk -l
cryptsetup luksFormat -s 512 /dev/sdaX
pvcreate /dev/mapper/encrypted
vgcreate root /dev/mapper/encryped
lvcreate -L [SIZE in gigabytes]G -n [NAME]
umount -all

References


Next Post
Chorescore