User Tools

Site Tools


arch_install_cheat_sheet

This is an old revision of the document!


Wireless Network Setup

  • iwctl device list
  • iwctl station wlan0 scan
  • iwctl station wlan0 get-networks
  • iwctl –passphrase <passphrase> station wlan0 connect <SSID>

Base

  • gdisk
  • cryptsetup luksFormat /dev/<root>
  • mkfs.ext4 /dev/<boot>
  • cryptsetup open /dev/<root> <crypt-root>
  • mkfs.ext4 /dev/mapper/<crypt-root>
  • mount /dev/mapper/<crypt-root> /mnt
  • mkdir /mnt/boot
  • mount /dev/<boot> /mnt/boot
  • mkdir /mnt/efi
  • mount /dev/<efi> /mnt/efi
  • pacstrap -K /mnt base linux linux-firmware vim
  • genfstab -U /mnt » /mnt/etc/fstab
  • arch-chroot /mnt
  • ln -sf /usr/share/zoneinfo/America/Detroit /etc/localtime
  • vim /etc/locale.gen # uncomment en_US entries
  • locale-gen
  • vim /etc/hostname
  • vim /etc/mkinitcpio.conf # add encrypt hook between block and filesystems - https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Configuring_mkinitcpio
  • mkinitcpio -P
  • passwd

GRUB

menuentry 'Windows' {
  insmod part_gpt
  insmod chain
  search --no-floppy --fs-uuid --set=root ABCD-EFGH
  chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
  • # to chain to another Linux partition:
menuentry 'Arch Secure' {
  insmod part_gpt
  search --no-floppy --fs-uuid --set=root <UUID>
  configfile ($root)/grub/grub.cfg
}
  • grub-mkconfig -o /boot/grub/grub.cfg

Desktop Environment

  • pacman -S xorg-server xorg-apps sddm sddm-kcm plasma-desktop dolphin okular xfce4-terminal firefox vlc kscreen
  • systemctl enable sddm.service

Audio

  • pacman -S alsa-utils pulseaudio pulseaudio-alsa kmix

Network

Dynamic - Option 1

  • pacman -S dhcpcd
  • systemctl enable dhcpcd.service

Dynamic - Option 2 (good for wireless)

  • pacman -S iwd networkmanager plasma-nm
  • systemctl enable NetworkManager.service

Static

Create /etc/systemd/network/20-wired.network :

[Match]
Name=enp8s0

[Network]
Address=192.168.16.68/24
Gateway=192.168.16.1
DNS=192.168.16.10

User

  • pacman -S sudo
  • useradd -m josh
  • passwd josh
  • visudo # enable wheel line
  • vim /etc/group # wheel, games

SSH

  • pacman -S openssh x11-ssh-askpass

Printing

  • pacman -S cups print-manager system-config-printer
  • systemctl enable cups.service

Misc

  • pacman -S which man-pages rsync kwalletmanager base-devel less

Setting GTK application theme

  • pacman -S kde-gtk-config awd-gtk-theme

NFS

  • pacman -S nfs-utils
server:/path /path nfs _netdev,noauto,x-systemd.automount,x-systemd.mount-timeout=10,rsize=8192,wsize=8192,timeo=14,intr 0 0

Reboot

  • exit
  • umount -R /mnt
  • reboot

After reboot, as user

ssh-agent setup

arch_install_cheat_sheet.1749043284.txt.gz · Last modified: by josh