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`
20. `echo 'LANG=en_US.UTF-8' > /etc/locale.conf`
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)
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
```
25. `pacman -S vim`
26. Edit /etc/default/grub
25. Edit /etc/default/grub
```conf
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
```
27. Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt
26. Edit /etc/mkinitcpio.conf and set up systemd/sd-encrypt
```conf
HOOKS=(systemd autodetect modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)
```
28. `mkinitcpio -P`
29. `grub-mkconfig -o /boot/grub/grub.cfg`
30. `pacman -S gdm gnome dhclient dhcpcd`
31. `sudo systemctl enable gdm`
32. `useradd ducoterra`
33. `passwd ducoterra`
34. `pacman -S sudo`
35. `groupadd sudo`
36. Edit /etc/sudoers and uncomment the section allowing sudo and wheel group privilege
37. `usermod -aG sudo ducoterra`
38. `usermod -aG wheel ducoterra`
39. `mkdir /home/ducoterra`
40. `chown ducoterra:ducoterra /home/ducoterra`
41. `exit`
42. `reboot`
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`
## Post Install