Skip to content

Instantly share code, notes, and snippets.

@mijoharas
Created September 21, 2013 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mijoharas/6652685 to your computer and use it in GitHub Desktop.
Save mijoharas/6652685 to your computer and use it in GitHub Desktop.
Creating Arch install.

Installing ARCH (Basic reminders)

wiki

lifehacker

# keymap
loadkeys dvorak

# uncomment en_GB.UTF-8 for uk
nano /etc/locale.gen
locale-gen

# check internet
ping -c 3 www.google.com

# create filesystems and mount partitions...

# then install base system
pacstrap -i /mnt base

# generate an fstab and check it
genfstab -U -p /mnt >> /mnt/etc/fstab
nano /mnt/etc/fstab

CHRoot

arch-chroot /mnt

# check locale
cat /etc/locale.gen
locale-gen

# LANG
echo LANG=en_GB.UTF-8 > /etc/locale.conf
export LANG=en_GB.UTF-8

loadkeys dvorak

# optional, might not be needed
nano /etc/vconsole.conf
KEYMAP=dvorak

# time
ls /usr/share/zoneinfo/
ls /usr/share/zoneinfo/Europe
ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
# hwclock, if you want

# root password
passwd

# bootloader

# bit of pacman config
nano /etc/pacman.conf
# uncomment multilib if 64 bit
pacman -Sy

exit
umount -R /mnt
reboot

Userspace

useradd -m -g users -G wheel,storage,power -s /bin/bash michael
passwd michael
pacman -S sudo
sudo pacman -S base base-devel

visudo
# uncomment %wheel All = (ALL) ALL

Setup a desktop if you want it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment