Skip to main content

Arch install notes

thumb_archlinux-category-logo.png (300×225)

Arch install notes

cfdisk 
mkfs.ext4 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2
mount /dev/sda1 /mnt
nano /etc/pacman.d/mirrorlist
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab
arch-chroot /mnt
nano /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
ls /usr/share/zoneinfo/
ln -s /usr/share/zoneinfo/your-time-zone > /etc/localtime
hwclock --systohc --utc
echo dave_linux > /etc/hostname
nano /etc/pacman.conf

[multilib]

Include = /etc/pacman.d/mirrorlist

[archlinuxfr]

SigLevel = Never

zServer = http://repo.archlinux.fr/$arch

pacman -Sy
pacman -S grub bash-completion os-prober vim ntfs-3g
useradd -m -g users -G wheel,storage,power -s /bin/bash dave
passwd
passwd dave
visudo
%wheel ALL=(ALL) ALL
grub-install /dev/sda
grub-mkconfig -o /boot/grub/grub.cfg
ip add
systemctl dhcpcd@eth0.service
exit
umount -R /mnt
reboot

Now Lets get the graphical stuff:

Brand

Type

Driver

Multilib

AMD/ATI

Open source

xf86-video-ati

lib32-mesa-libgl

Proprietary

catalyst

lib32-catalyst-utils

Intel

Open source

xf86-video-intel

lib32-mesa-libgl

Nvidia

Open source

xf86-video-nouveau

lib32-mesa-libgl

Proprietary

nvidia

lib32-nvidia-libgl

nvidia-340xx

lib32-nvidia-340xx-libgl

nvidia-304xx

lib32-nvidia-304xx-libgl

pacman -S xorg nvidia lib32-nvidia-utils networkmanager gnome gdm
systemctl enable gdm
systemctl enable NetworkManager
systemctl start NetworkManager

systemctl disable dhcpcd@.service
systemctl start gdm