- Disable secureboot and legacy boot
- Enable EFI (UEFI) boot
- Boot
-
loadkeys cz-qwertz
-
ping archlinux.org
test 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 list
look at your wifi thing name -
station device scan
where device is your wifi thing name -
station device get-networks
look at available wifi networks -
station device connect SSID
where SSID is the SSID of the network you want to connect to -
exit
-
- connet ethernet cable
-
cfdisk
and make 3 partitions- Boot partition - EFI System
- Swap partition - Swap
- Root partition - Linux root
- Make filesystems in partitions
-
mkfs.fat -F 32 /dev/sdXX
boot -
mkfs.ext4 /dev/sdXX
root -
mkswap /dev/sdXX
swap
-
-
mount /dev/sdXX /mnt
root -
mkdir /mnt/boot
mkdir /mnt/boot/efi
-
mount /dev/sdXX /mnt/boot/efi
-
swapon /dev/sdXX
swap -
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.gen
Uncomment needed locales -
locale-gen
-
vim /etc/locale.conf
LANG=cs_CZ.UTF-8
orLANG=en_US.UTF-8
-
vim /etc/vconsole.conf
KEYMAP=cz-qwertz
-
vim /etc/hostname
hostname
-
vim /etc/hosts
127.0.0.1 localhost \n ::1 localhost \n 127.0.1.1 *hostname*
-
passwd
set root password -
useradd -m username -G wheel
-
visudo /etc/sudoers
uncomment line with%wheel ALL=(ALL) ALL
-
passwd username
set user password -
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi /dev/sdX
just the drive, not the partition -
grub-mkconfig -o /boot/grub/grub.cfg
-
exit
exit chroot -
reboot
reboot and remove instalation medium -
sudo systemctl enable networkmanager --now
after iwctl, it is needed to run
dhcpcd