Added ntpd info and fixed GRUB_CMDLINE_LINUX

This commit is contained in:
Alejandro Angulo 2021-10-04 21:35:39 -07:00
parent b1790c7776
commit 16d540b532
No known key found for this signature in database
GPG key ID: D5EBF3BE556933C3

View file

@ -270,7 +270,7 @@ grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=ArchLinux
```
Open up `/etc/default/grub` again and edit the `GRUB_CMDLINE_LINUX` line so it looks like this
`GRUB_CMDLINE_LINUX=cryptdevice/nvme1n1p2:EncryptedBoot:allow-discards resume=/dev/mapper/Arch-swap`.
`GRUB_CMDLINE_LINUX=cryptdevice=/dev/nvme1n1p2:EncryptedBoot:allow-discards resume=/dev/mapper/Arch-swap`.
The `allow-discards` option also has to do with `TRIM`. Now the `grub` configuration is ready to be generated.
@ -369,6 +369,13 @@ cd ..
rm -rf yay
```
Set up ntp (keep time synchronized).
```bash
yay -S ntp
sudo systemctl ntpd enable --now
```
Set up `zsh`.
```bash