Skip to content

Instantly share code, notes, and snippets.

@cyborgmarina
Last active August 28, 2017 02:05
Show Gist options
  • Save cyborgmarina/8d9fc6439d0d38af30c4f1cf4b5646d6 to your computer and use it in GitHub Desktop.
Save cyborgmarina/8d9fc6439d0d38af30c4f1cf4b5646d6 to your computer and use it in GitHub Desktop.
Arch Linux step-by-step

Booting

If you experience any problems with ‘probing edds’, look up here:

Basic Setup

Set keyboard layout

loadkeys us-acentos

Verify if UEFI || BIOS

ls /sys/firmware/efi/efivars

Connect to the Internet

wifi-menu

Update the system clock

timedatectl set-ntp true

Partitioning

  • If UEFI, you’re gonna need an EFI System Partition (check ArchWiki), otherwise, keep it simple:
    • / root partition
    • swap partition (2GB is fine, I guess)
parted
print 
rm <number-of-partitions>
mkpart primary ext4 1MB 158GB # <start> <end>, can be in percentages too
mkpart primary linux-swap 158GB 160GB
set 1 boot on # set root partition as boot 
mkfs.ext4 /dev/sda1

Mounting

mount /dev/sda1 /mnt

Installation

  • Rank mirrors:
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup
sed -i 's/^#Server/Server/' /etc/pacman.d/mirrorlist.backup
rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist
  • TODO: Notes to finish this guide:
    • dont forget grub-mkconfig
    • dont forget xorg-xinit (look xinit wiki to copy default config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment