Easy ArchLinux install with full-disk encryption.
After you have an Arch ISO
Installed onto a USB drive,
boot up to it and see the Installation Guide
on how to get started.
Utils like wifi-menu
will probably be handy.
Once you get to the partitioning steps, use arcrypt; download it like this:
wget git.io/arcrypt.sh
chmod +x arcrypt.sh
Arcrypt format will setup a device with full-disk encryption.
This erases the entire drive, so be sure to have the correct one before continuing!
Use lsblk
to help identify the correct device.
./arcrypt.sh format /dev/sdX
Once you answer some questions, it will do most of the steps in the install guide.
This will leave you with a drive partitioned like this:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 200G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 550M 0 part /efi
├─sda3 8:3 0 200M 0 part
│ └─cryptboot 254:0 0 198M 0 crypt /boot
└─sda4 8:4 0 100G 0 part
└─cryptlvm 254:1 0 100G 0 crypt
├─Arcrypt-swap 254:2 0 16G 0 lvm [SWAP]
└─Arcrypt-root 254:3 0 183.2G 0 lvm /
If you need to mount again in the future use ./arcrypt.sh mount /dev/sdX