This is a personal collection of shell scripts to install Arch Linux with full disk encryption.
You will need at least:
- One USB flash drive (better two for a backup)
- A good passphrase
- Another USB flash drive with a bootable Arch Linux Install ISO image on it
-
Boot into the Arch Linux installation medium.
-
Plug-in your USB flash drive which should act as your KeyStorage.
-
Check which devices are your main drive and your KeyStorage USB flash drive
root@archiso ~ # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 545.2M 1 loop /run/archiso/sfs/airootfs sda 8:0 0 953,9G 0 disk sdb 8:16 0 8G 0 disk sr0 11:0 1 622M 0 rom /run/archiso/bootmnt
In this example
sda
would be our main drive andsdb
the USB flash drive. Remember these as your will be asked for it later. -
Connect to the internet if you do not put these scripts onto your bootable USB flash drive.
-
Get the init.sh script via https://git.io/JvEbY and execute it. Here is the oneliner:
curl -L https://git.io/JvEbY > init.sh && chmod +x init.sh && ./init.sh
-
Follow the on-screen instructions.
If you like to set the variables by hand and skip most of the dialogs checkout 00_setup-variables.sh file.
If you like my work feel free to bring some love back.