Skip to content

Instantly share code, notes, and snippets.

@Poirot12345T
Forked from Bertik23/archInstallChecklist.md
Last active June 22, 2023 15:36
Show Gist options
  • Save Poirot12345T/1538ff04697693afc57d1606e9662047 to your computer and use it in GitHub Desktop.
Save Poirot12345T/1538ff04697693afc57d1606e9662047 to your computer and use it in GitHub Desktop.
Arch installation checklist
  • Disable secureboot and legacy boot
  • Enable EFI (UEFI) boot
  • Boot
  • loadkeys cz-qwertz
  • ping archlinux.org test internet connection
  • If no internet:
    • connet ethernet cable
      • If ethernet cable connected and still no internet
        • modprobe -r tg3
        • modprobe broadcom
        • modprobe tg3
    • Connect to WiFi
      • iwctl
      • device list look at your wifi thing name
      • station device scan where device is your wifi thing name
      • station device get-networks look at available wifi networks
      • station device connect SSID where SSID is the SSID of the network you want to connect to
      • exit
  • cfdisk and make 3 partitions
    • Boot partition - EFI System
    • Swap partition - Swap
    • Root partition - Linux root
  • Make filesystems in partitions
    • mkfs.fat -F 32 /dev/sdXX boot
    • mkfs.ext4 /dev/sdXX root
    • mkswap /dev/sdXX swap
  • mount /dev/sdXX /mnt root
  • mkdir /mnt/boot mkdir /mnt/boot/efi
  • mount /dev/sdXX /mnt/boot/efi
  • swapon /dev/sdXX swap
  • pacstrap /mnt base linux linux-firmware base-devel sudo vim git zsh grub efibootmgr networkmanager reflector archlinux-keyring
  • genfstab -U /mnt > /mnt/etc/fstab
  • arch-chroot /mnt
  • ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
  • hwclock --systohc
  • vim /etc/locale.gen Uncomment needed locales
  • locale-gen
  • vim /etc/locale.conf LANG=cs_CZ.UTF-8 or LANG=en_US.UTF-8
  • vim /etc/vconsole.conf KEYMAP=cz-qwertz
  • vim /etc/hostname hostname
  • vim /etc/hosts 127.0.0.1 localhost \n ::1 localhost \n 127.0.1.1 *hostname*
  • passwd set root password
  • useradd -m username -G wheel
  • vim /etc/sudoers uncomment line with %wheel ALL=(ALL) ALL
  • passwd username set user password
  • grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi /dev/sdX just the drive, not the partition
  • grub-mkconfig -o /boot/grub/grub.cfg
  • exit exit chroot
  • reboot reboot and remove instalation medium
  • sudo systemctl enable networkmanager --now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment