fix numbering
This commit is contained in:
48
arch.md
48
arch.md
@@ -77,16 +77,17 @@ Follow most of the instructions here:
|
||||
18. `ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime`
|
||||
19. `hwclock --systohc`
|
||||
20. `echo 'LANG=en_US.UTF-8' > /etc/locale.conf`
|
||||
21. `echo 'hostname' > /etc/hostname`
|
||||
22. `pacman -S sudo vim gdm gnome dhclient dhcpcd bash-completion grub`
|
||||
23. `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT` (this will fail)
|
||||
24. Note: for some systems you'll have to move grubx64.efi into an expected location:
|
||||
21. `echo 'KEYMAP=us' > /etc/vconsole.conf`
|
||||
22. `echo 'hostname' > /etc/hostname`
|
||||
23. `pacman -S sudo vim gdm gnome dhclient dhcpcd bash-completion grub`
|
||||
24. `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=BOOT` (this will fail)
|
||||
25. Note: for some systems you'll have to move grubx64.efi into an expected location:
|
||||
|
||||
```bash
|
||||
cp /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/bootx64.efi
|
||||
```
|
||||
|
||||
25. Edit /etc/default/grub
|
||||
26. Edit /etc/default/grub
|
||||
|
||||
```conf
|
||||
GRUB_CMDLINE_LINUX="quiet splash rd.luks.uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
|
||||
@@ -96,25 +97,25 @@ Follow most of the instructions here:
|
||||
GRUB_SAVEDEFAULT=true
|
||||
```
|
||||
|
||||
26. Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt
|
||||
27. Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt
|
||||
|
||||
```conf
|
||||
HOOKS=(systemd autodetect modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)
|
||||
```
|
||||
|
||||
27. `mkinitcpio -P`
|
||||
28. `grub-mkconfig -o /boot/grub/grub.cfg`
|
||||
29. `sudo systemctl enable gdm`
|
||||
30. `useradd ducoterra`
|
||||
31. `passwd ducoterra`
|
||||
32. `groupadd sudo`
|
||||
33. Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege
|
||||
34. `usermod -aG sudo ducoterra`
|
||||
35. `usermod -aG wheel ducoterra`
|
||||
36. `mkdir /home/ducoterra`
|
||||
37. `chown ducoterra:ducoterra /home/ducoterra`
|
||||
38. `exit`
|
||||
39. `reboot`
|
||||
28. `mkinitcpio -P`
|
||||
29. `grub-mkconfig -o /boot/grub/grub.cfg`
|
||||
30. `sudo systemctl enable gdm`
|
||||
31. `useradd ducoterra`
|
||||
32. `passwd ducoterra`
|
||||
33. `groupadd sudo`
|
||||
34. Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege
|
||||
35. `usermod -aG sudo ducoterra`
|
||||
36. `usermod -aG wheel ducoterra`
|
||||
37. `mkdir /home/ducoterra`
|
||||
38. `chown ducoterra:ducoterra /home/ducoterra`
|
||||
39. `exit`
|
||||
40. `reboot`
|
||||
|
||||
## Post Install
|
||||
|
||||
@@ -180,8 +181,9 @@ sudo ufw enable
|
||||
|
||||
### TPM2 LUKS Decryption
|
||||
|
||||
2. `pacman -S tpm2-tss`
|
||||
3. `systemd-cryptenroll /dev/vda2 --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs=""`
|
||||
1. `pacman -S tpm2-tss`
|
||||
2. `systemd-cryptenroll /dev/vda2 --wipe-slot=tpm2 --tpm2-device=auto --tpm2-pcrs=""`
|
||||
|
||||
### Don't sleep while plugged in
|
||||
|
||||
This is needed for the Framework 13 (11th gen) since sleeping while plugged in to a dock
|
||||
@@ -229,8 +231,8 @@ We also check that the HDMI cable is connected by testing the contents of
|
||||
Follow the steps below:
|
||||
|
||||
1. `pacman -S acpid` and then `systemctl enable --now acpid`
|
||||
1. Create a .locks file in your home dir: `mkdir ~/.locks`
|
||||
2. Create file /etc/acpi/laptop-lid.sh with the following contents:
|
||||
2. Create a .locks file in your home dir: `mkdir ~/.locks`
|
||||
3. Create file /etc/acpi/laptop-lid.sh with the following contents:
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
||||
Reference in New Issue
Block a user