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