Steps:
-
timedatectl set-ntp true
-
(localectl list-keymaps | grep PL) --- loadkeys ...
-
pacman -Syyy
-
lsblk
-
cfdisk ...
-
mkfs.ext4 ...
-
mount ... /mnt
-
mkdir /mnt/boot
-
mount ... /boot
-
pacstrap /mnt base linux linux-firmware git vim intel-ucode
-
genfstab -U /mnt >> /mnt/etc/fstab (cat /mnt/etc/fstab)
-
arch-chroot /mnt
-
fallocate -l 2GB /swapfile
-
chmod 600 /swapfile
-
mkswap /swapfile
-
swapon /swapfile
-
vim /etc/fstab (add at the end "/swapfile none swap default 0 0")
Then git clone this repository, chmod +x install.sh ./install.sh
The script takes care of the rest (change anything if necessary).
All credit for the script goes to a wonderful linux user, Ermanno Ferrari. I just copied his work and changed a few things. Go check out his youtube channel: https://www.youtube.com/channel/UCX_WM2O-X96URC5n66G-hvw