__ ______ _
/_ |____ | | |
| | / / __ ___| |_
| | / / '_ \ / __| __|
| | / /| | | | (__| |_
|_|/_/ |_| |_|\___|\__|
Arch Installation Guide
This is a guide to install Arch Linux with a Gnome desktop.
Setting up the console
setfont ter-224b.psf.gz
Connect to internet with Wi-Fi
iwctl
station list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect [network]
Partitioning the disk
cfdisk /dev/sda [!!!](For the sake of simplicity I will use /dev/sda. This may be different for your device!)
1GB to EFI partition, type=efi (/dev/sda1)
The rest to primary partition, type= Linux EXT4 (/dev/sda2)
mkfs.ext4 /dev/sda2
mkfs.fat -F32 /dev/sda1
Mounting the disk partitions
mount /dev/sda2 /mnt
mount /dev/sda1 /mnt/efi [NOTE] The subdirectory “efi” may not exist, create this using the “mkdir /mnt/efi” command.
Installing base packages
pacstrap /mnt base linux linux-firmware
Generate Fstab
genfstab -U /mnt >> /mnt/etc/fstab
Change over to root filesystem
arch-chroot /mnt
Set timezone
ln -sf /usr/share/zoneinfo/Continent/City /etc/localtime
hwclock --systohc
nano /etc/locale.gen [NOTE] The shell might respond with “nano: command not found”. Fix this by installing nano, “pacman -Syu nano”
Run the “nano /etc/locale.gen” command again.
Uncomment a locale that fits best.
Configure host and hostname file
nano /etc/hostname
hostname
nano /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 hostname.localdomain hostname
Setting the users up
passwd [!!!]This will be the root user's password, do not forget it!
useradd -G wheel,audio,video -m user [NOTE] To check if a home folder has been made, run command “/ls/home”, you should see whatever username you inputted in the useradd command.
passwd username
Install packages
pacman -Syu netctl networkmanager wireless_tools wpa_supplicant dhcpcd dialog sudo xorg xorg-server gnome grub efibootmgr
Install GRUB
grub-install --target=x86_64-efi --efi-directory=/efi/ --bootloader-id=Archieee
grub-mkconfig -o /boot/grub/grub.cfg