Recently I reinstalled my Antergos (Arch Linux). It features a nice installer, Cnchi, with support for full disc encryption with LUKS and LVM. Unfortunately, it does not activate TRIM support for SSDs by default. To do that post-installation the three following steps are required.
- For every physical partition in
- Make LVM pass through TRIM commands to the underlying partition. Edit
- Add a boot parameter in
/etc/default/grubso the physical partitions are mounted with the
Rebuild the grub config.
grub-mkconfig -o /boot/grub/grub.cfg
If you now reboot and try
sudo fstrim -v / things should go smoothly.