#check internet ping google.com (CTRL-c to kill the ping) #set time zone timedatectl set-timezone (my location) timedatectl set-ntp true timedatectl status #create partitions fdisk /dev/sda1 --> g (create a new GPT partitin table) --> n (add a new partition) partition number - 1 first sector - default last sector - +512M --> t (change partition type) 1 for efi partition --> n (add a new partition) partition number - 2 first sector - default last sector - +8192M --> t (change partition type) 19 for swap --> n (add a new partition) partition number - 3 first sector -default last sector - (press enter for remaining space) --> t (change partition type) 24 for linux root (x86-64) #make file system efi - mkfs.fat -F32 /dev/sda1 root - mkfs.ext4 /dev/sda3 #make swap (only if u created a swap during creat partition step) mkswap /dev/sda2 #turn swap partition on/active swapon /dev/sda2 #creat folder for mounting efi partition mkdir /mnt/efi #mount the filesystem efi - mount /dev/sda1 /mnt/efi root - mount /dev/sda3 /mnt #run the base installer pacstrap /mnt base base-devel linux linux-firmware nano vim sudo grub efibootmgr usbutils e2fsprogs dhcpcd device-mapper inetutils texinfo netctl ntfs-3g exfat-utils dosfstools man-db man-pages xorg (OPTIONAL if not using a desktop environment specefic display manager - lightdm lightdm-slick-greeter or lightdm-gtk-greeter and networkmanager if not provided by the desktop) #generate filesystem table genfstab -U /mnt >> /mnt/etc/fstab #change root into the new installed system arch-chroot /mnt #set timezone ln -sf /usr/share/zoneinfo/(my location) #set harware clock hwclock --systohc #edit locale nano /etc/locale.gen (and uncomment needed locales) #generate localization config file locale-gen #create the locale.conf file, and set the LANG variable accordingly nano /etc/locale.conf (type LANG=en_US.UTF-8) -----#set the keyboard layout (defualt english us dont edit if us if fine for you) # nano /etc/vconsole.conf KEYMAP = de_latin1--------- #create hostname file nano /etc/hostname (type whatever hostname u want and save) #edit hosts file nano /etc/hosts and type this and save- 127.0.0.1 localhost ::1 localhost 127.0.1.1 *youhostnamehere*.localdomain *yourhostnamehere* #set root password passwd (type your password) #enable network systemctl enable dhcpcd #add user useradd -m *yourusernamehere* #set password for user passwd *yourusernamehere* (type your password) #add user to groups for root privilages usermod -aG wheel,audio,video,optical,storage *yourusernamehere* (add whatever else group you want after storage) #add user to sudoers file visudo (may need to install vim to install pacman -S vim) uncomment the line that says allow members of the wheel group to execute any command #install bootloader grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB #generate grub config grub-mkconfig -o /boot/grub/grub.cfg #exit chroot exit #reboot reboot now install any software and desktop environment of choice.