Setting up Arch + LUKS + BTRFS + systemd-boot + apparmor + Secure Boot + TPM 2.0 - A long, nightmarish journey, now simplified
Setting up Arch + LUKS + BTRFS + systemd-boot + apparmor + Secure Boot + TPM 2.0 - A long, nightmarish journey, now simplified
Ever since I started using Arch I've been struggling to configure a system with all of these. And now that I've finally done it, I'd like to document and simplify the process for everyone:
Step 1: The base install
This is the most common part (unless you only used archinstall
), I mixed a couple of tutorials (credits in the comments) and a bit of the Arch Wiki.
Step 2: Installing the bootloader
This is also pretty simple, let's configure the bootloader and add the kernel parameters needed,
Step 3: Installing your desktop environment/window manager
This part is optional because it completely depends on the DE/WM you want. In my case I went with GNOME, so I'll leave an install guide for it here.
Step 4: Checking Apparmor and installing Timeshift
Let's deal with AppArmor, which we installed before, and install Timeshift.
Step 5: Secure Boot + TPM 2.0
Now it's the part where it isn't as well documented and I had nightmares figuring out by myself.
\
And with that you're done! Enjoy your system!