Arch Linux uefi boot install for "dummies". It's literally that easy in progress (adding more to it still) only use if you already know what you are doing
Base system install (have google available for this)
X the size in MiB you want for each partition or section for linux functions this is also why you need google to make sure you're transfering the correct GiB into MiB
-
timedatectl set-ntp true
-
parted -a optimal /dev/sdX (X is the drive type e.g hdd= /dev/sda nvme = nvmeXnXp)
-
mklabel gpt
-
mkpart esp fat32 1 512 (just leave it at 512 i didn't change it for a reason)
-
mkpart rootfs ext4 XXXX 100% (change the X to the number of GBs you want in MiB)
-
mkpart swap linux-swap 512 XXXX
-
set 1 boot on
-
quit
-
mkfs.vfat -F32 /dev/sdX1 (nvme = nvmeXnXpX)
-
mkswap /dev/sdX3
-
swapon /dev/sdX3
-
mkfs.ext4 /dev/sdX2
-
mount /dev/sdX2 /mnt
-
mkdir -p /mnt/boot/efi
-
mount /dev/sdX1 /mnt/boot/efi
-
pacstrap /mnt base base-devel linux linux-firmware
-
genfstab -U /mnt >> /mnt/etc/fstab
-
arch-chroot /mnt
-
pacman -Sy grub efibootmgr dosfstools e2fsprogs dhcpcd networkmanager bash-completion git curl psutils pciutils ed xz bzip2 lz4 lzop ca-certificates
-
systemctl enable NetworkManager
-
grub-install --target=x86_64-efi --efi-directory=/boot/efi
-
grub-mkconfig -o /boot/grub/grub.cfg
-
passwd (leaving this blank creates roots/su's password should you need to ever sudo su)
(we are doing root first)
-
passwd (step one would have asked for a password and when you typed it in the terminal is not designed to show it)
-
useradd -m theusernameyouwant
-
passwd theusernameyoujustcreated (to make a password for them specifically)
DE it looks like a lot but i am getting the basics for gaming/office/coding btw steam will prompt drivers so select the appropriate driver use this part of the wiki for drivers
my favourite it plasma so i am going to use that cause it is the most customisable
-
sudo nano /etc/pacman.conf (remove if it isn't already the # on the multilib repo, extra repo and community repo it will save you later on don't touch the testing repos unless experienced)
-
pacman -Syyu
-
pacman -Syu
-
pacman -S plasma-desktop dolphin firefox steam discord kate obs-studio kdenlive libreoffice gimp flatpak wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader lutris git wget xsel iphython python linux-zen linux-zen-headers linux-lts linux-lts-headers vim neofetch htop i2c-tools plank xorg
nvidia 900 series and newer only required before last step. pacman -S nvidia-dkms
- grub-mkconfig -o /boot/grub/grub.cfg
enjoy, after this last step get used to or learn to reading the wiki
sudo reboot