move all pacman installs during installation to one line

This commit is contained in:
ducoterra
2023-08-02 09:49:54 -04:00
parent 8487efc18e
commit 5f7cb4bed2

35
arch.md
View File

@@ -77,7 +77,7 @@ Follow most of the instructions here:
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 'hostname' > /etc/hostname`
22. `pacman -S grub` 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) 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: 24. Note: for some systems you'll have to move grubx64.efi into an expected location:
@@ -85,8 +85,7 @@ Follow most of the instructions here:
cp /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/bootx64.efi cp /boot/EFI/BOOT/grubx64.efi /boot/EFI/BOOT/bootx64.efi
``` ```
25. `pacman -S vim` 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,27 +95,25 @@ Follow most of the instructions here:
GRUB_SAVEDEFAULT=true GRUB_SAVEDEFAULT=true
``` ```
27. Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt 26. 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)
``` ```
28. `mkinitcpio -P` 27. `mkinitcpio -P`
29. `grub-mkconfig -o /boot/grub/grub.cfg` 28. `grub-mkconfig -o /boot/grub/grub.cfg`
30. `pacman -S gdm gnome dhclient dhcpcd` 29. `sudo systemctl enable gdm`
31. `sudo systemctl enable gdm` 30. `useradd ducoterra`
32. `useradd ducoterra` 31. `passwd ducoterra`
33. `passwd ducoterra` 32. `groupadd sudo`
34. `pacman -S sudo` 33. Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege
35. `groupadd sudo` 34. `usermod -aG sudo ducoterra`
36. Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege 35. `usermod -aG wheel ducoterra`
37. `usermod -aG sudo ducoterra` 36. `mkdir /home/ducoterra`
38. `usermod -aG wheel ducoterra` 37. `chown ducoterra:ducoterra /home/ducoterra`
39. `mkdir /home/ducoterra` 38. `exit`
40. `chown ducoterra:ducoterra /home/ducoterra` 39. `reboot`
41. `exit`
42. `reboot`
## Post Install ## Post Install