- Disable secureboot and legacy boot
- Enable EFI (UEFI) boot
- Boot
-
loadkeys cz-qwertz -
ping archlinux.orgtest internet connection - If no internet:
- connet ethernet cable
- If ethernet cable connected and still no internet
-
modprobe -r tg3 -
modprobe broadcom -
modprobe tg3
-
- If ethernet cable connected and still no internet
- Connect to WiFi
-
iwctl -
device listlook at your wifi thing name -
station device scanwhere device is your wifi thing name -
station device get-networkslook at available wifi networks -
station device connect SSIDwhere SSID is the SSID of the network you want to connect to -
exit
-
- connet ethernet cable
-
cfdiskand make 3 partitions- Boot partition - EFI System
- Swap partition - Swap
- Root partition - Linux root
- Make filesystems in partitions
-
mkfs.fat -F 32 /dev/sdXXboot -
mkfs.ext4 /dev/sdXXroot -
mkswap /dev/sdXXswap
-
-
mount /dev/sdXX /mntroot -
mkdir /mnt/bootmkdir /mnt/boot/efi -
mount /dev/sdXX /mnt/boot/efi -
swapon /dev/sdXXswap -
pacstrap /mnt base linux linux-firmware base-devel sudo vim git zsh grub efibootmgr networkmanager reflector archlinux-keyring -
genfstab -U /mnt > /mnt/etc/fstab -
arch-chroot /mnt -
ln -sf /usr/share/zoneinfo/Region/City /etc/localtime -
hwclock --systohc -
vim /etc/locale.genUncomment needed locales -
locale-gen -
vim /etc/locale.confLANG=cs_CZ.UTF-8orLANG=en_US.UTF-8 -
vim /etc/vconsole.confKEYMAP=cz-qwertz -
vim /etc/hostnamehostname -
vim /etc/hosts127.0.0.1 localhost \n ::1 localhost \n 127.0.1.1 *hostname* -
passwdset root password -
useradd -m username -G wheel
-
visudo /etc/sudoersuncomment line with%wheel ALL=(ALL) ALL
-
passwd usernameset user password -
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi /dev/sdXjust the drive, not the partition -
grub-mkconfig -o /boot/grub/grub.cfg -
exitexit chroot -
rebootreboot and remove instalation medium -
sudo systemctl enable networkmanager --now
after iwctl, it is needed to run
dhcpcd