Skip to content

Instantly share code, notes, and snippets.

@adminy
Created November 12, 2019 14:17
Show Gist options
  • Save adminy/bc2f06040d9cf1831585ab4dab3a6267 to your computer and use it in GitHub Desktop.
Save adminy/bc2f06040d9cf1831585ab4dab3a6267 to your computer and use it in GitHub Desktop.
arch linux installation
# Set the keyboard layout
#> ls /usr/share/kbd/keymaps/**/*.map.gz
#> loadkeys de-latin1
#> ls /sys/firmware/efi/efivars UEFI PROOF if exists
#Connect to the internet
#> ip link
# TEST Internet
#> ping archlinux.org
# Update the system clock
#> timedatectl set-ntp true
# Partition the disks
# fdisk -l
# fdisk /dev/sda
# mkfs -t ext4 /dev/sda1
# mount /dev/sda1 /mnt
Installation
# pacstrap /mnt base linux linux-firmware
# genfstab -U /mnt >> /mnt/etc/fstab
# arch-chroot /mnt
# ln -sf /usr/share/zoneinfo/Region/City /etc/localtime
# hwclock --systohc
# nano /etc/locale.gen
Uncomment en_US.UTF-8 UTF-8 and other needed locales in
# locale-gen
#nano /etc/locale.conf
LANG=en_US.UTF-8
#nano /etc/vconsole.conf
KEYMAP=de-latin1
echo archX > /etc/hostname
echo "127.0.0.1 localhost" >> /etc/hosts
echo "::1 localhost" >> /etc/hosts
echo "127.0.1.1 myhostname.localdomain archX" >> /etc/hosts
iputils
Initramfs
# mkinitcpio -P
# passwd
# umount -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment