This markdown document should help to you (and me :3) install arch linux with all needed non graphical things for regular PC with UEFI. Excented source of information about installation: https://wiki.archlinux.org/title/Installation_guide
- Download iso image, from https://repo.hyron.dev/archlinux/iso/ (UA mirror) as example.
- Flash iso to usb stick using rufus, balendaEtcher, dd or etc.
- Boot PC and switch booting device to flashed usb stick.
- Check internet connection in installer by
ping kernel.org
- Partition the disks using fdisk
fdisk -l
fdisk /dev/nvme0n1
g
(new gpt partition table)n
(new partition) /bootdefault
(partition number)default
(first sector)+2G
(2gb)y
(if requested remove signature)
n
(new partition) /default
(partition number)default
(first sector)default
(use all space)
w
(save and exit)
- Creating filesystems
mkfs.fat -F 32 /dev/nvme0n1p1
(make /boot fat32)mkfs.ext4 /dev/nvme0n1p2
(make / ext4)
- Mounting
mount /dev/nvme0n1p2 /mnt
(mount /)mkdir /mnt/boot
mount /dev/nvme0n1p1 /mnt/boot
(mount /boot)
- Installing default packages
pacstrap -K /mnt base base-devel linux linux-firmware amd-ucode man vim networkmanager
- Generate fstab
genfstab -U /mnt >> /mnt/etc/fstab
- Chroot to new system
arch-chroot /mnt
- Set hostname by
echo "mypc1" > /etc/hostname
- Set root password by
passwd
- Create new user
useradd -m -s /bin/bash user
(create)usermod -aG wheel user
(add to sudoers)EDITOR=vim visudo
(open sudoers edito r)- uncomment or add line
%wheel ALL=(ALL) ALL
- save by esc, :wq
- uncomment or add line
passwd user
(change password for user)
- Install deps
pacman -Syu grub efibootmgr
- Install grub
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
- Make config
grub-mkconfig -o /boot/grub/grub.cfg
- Exit chroot
exit
- Unmount all
umount /mnt/boot && umount /mnt
- Reboot
reboot
- No internet connecting.
- You need to enable and start network manager service.
sudo systemctl enable NetworkManager.service
sudo systemctl start NetworkManager.service
- You need to enable and start network manager service.
- Possibly missing firmware for module XXXX
- Check https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX
- For me it's
yay -S ast-firmware aic84xx-firmware linux-firmware-qlogic
- Steam or totally network slow speed:
- Screenshoters what i use is so bad
- Use flameshot instead.
sudo pacman -S flameshot
- Use flameshot instead.