################################# FILE SYSTEM ################################# # Check 'BIOS' or 'UEFI' # If the directory does not exist, the system be booted in BIOS ls /sys/firmware/efi/efivars # Show all disks lsblk --output NAME,FSTYPE,LABEL,MOUNTPOINT,MODEL,SIZE # Recommended partitions # /dev/sdX1 | boot | 0.5 GiB # /dev/sdX2 | swap | RAM size GiB # /dev/sdX3 | root | 16 < x < 64 GiB # /dev/sdX4 | home | Remaining GiB # Manage disk '/dev/sdX' cfdisk /dev/sdX # Manage disk '/dev/sdX' with new partition table # cfdisk -z /dev/sdX # Format partitions mkfs.ext4 /dev/sdXn -L boot mkswap /dev/sdXn -L swap mkfs.ext4 /dev/sdXn -L root # Format home partition # mkfs.ext4 /dev/sdXn -L home # Mount 'root' partition mount /dev/sdXn /mnt mkdir /mnt/{boot,home} # Mount 'boot' and 'home' partitions mount /dev/sdXn /mnt/boot mount /dev/sdXn /mnt/home # Enable 'swap' partition swapon /dev/sdXn ############################### PACKAGE MANAGER ############################### # Add a temporary mirror nano /etc/pacman.d/mirrorlist # Add this line # Server = http://mirrors.kernel.org/archlinux/$repo/os/$arch # Get full sorted mirror list pacman -Sy reflector reflector -p http --sort rate --save /etc/pacman.d/mirrorlist pacman -Rs reflector ################################ LINUX INSTALL ################################ # Installing 'base' group pacstrap /mnt base # Generate file systems table genfstab -U /mnt >> /mnt/etc/fstab # Change root directory arch-chroot /mnt mkinitcpio -p linux ##################################### GRUB #################################### pacman -S grub grub-install /dev/sdX grub-mkconfig -o /boot/grub/grub.cfg ################################### REBOOT #################################### exit umount -R /mnt reboot ############################### CONFIGURE LINUX ############################### # Add computer name 'change_here' echo change_here > /etc/hostname # ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime hwclock --systohc --utc nano /etc/locale.gen locale-gen # echo "LANG=ru_RU.UTF-8" > /etc/locale.conf passwd # Add user 'name_here' useradd -m -g users -G wheel -s /bin/bash name_here passwd name_here systemctl enable dhcpcd systemctl start dhcpcd ################################# KDE INSTALL ################################# pacman -Syu xorg-server xorg-xinit plasma-desktop konsole sddm # 1 2 2 # pacman -Syu xorg # pacman -Syu plasma # pacman -Syu kdebase # pacman -Syu kde-applications # pacman -S kf5 kf5-aids # pacman -S gwenview systemctl enable sddm reboot ############## AURMAN ############## makepkg -si aurman -Sy ######### PACKAGE DEFAULT ########## pacman -Syu pacman -S PROGRAM_LIST ######### PROGRAMMS ########## chromium latte-dock dolphin ttf-droid ttf-dejavu