Arch Linux on SSD with encryption (Tutorial) |
Title : Arch Linux on SSD with encryption (Tutorial)
Duration : 38:05
Channel : MirrorMatter
Label : Solid-state Drive, Arch Linux (Operating System), Encryption
Duration : 38:05
Channel : MirrorMatter
Label : Solid-state Drive, Arch Linux (Operating System), Encryption
Arch Linux on SSD with encryption (Tutorial) |
This is my first tutorial video. I try to cover a basic Arch installation as succinctly as possible while going over encryption. Hopefully it's helpful! Some additional notes: 1) If you want to enable discard/TRIM functions on your encrypted/de-crypted partition, you will need to append ":allow-discards" to your cryptdevice line in your bootloader configuration file (ie: cryptdevice=/dev/sda2:root:allow-discards). Thereafter, add the appropriate mount options to your fstab file as they apply to the filesystem you've chosen, or just periodically run fstrim. 2) I use the Samsung 850 Pro and have had problems with the drive freezing and being reset while in use. I haven't seen this problem with the EVO line. If you are experiencing this problem, append "libata.force=noncq" to your kernel parameters in your bootloader's configuration file. 3) "Noop" is purportedly an ideal I/O scheduler for SSDs. If you don't want to take the time to compile a kernel, you can simply append "elevator=noop" to your kernel parameters. This is what my "append" line looks like, to explain the above: cryptdevice=/dev/sda2:root:allow-discards root=/dev/mapper/root rw quiet vga=895 elevator=noop libata.force=noncq