NOTE: Perfect with Resolution 2560x1600 (16:10 2K)
iwctl
loadkeys i386/qwerty/us.map.gz timedatectl set-ntp true timedatectl set-timezone Asia/Ho_Chi_Minh
pacman -Sy reflector archlinux-keyring reflector -c Vietnam -c Singapore -c Japan -c India -a 12 --sort rate --save /etc/pacman.d/mirrorlist
cfdisk /dev/nvme0n1 mkswap /dev/nvme0n1p6 swapon /dev/nvme0n1p6 mkfs.ext4 /dev/nvme0n1p5 mount /dev/nvme0n1p5 /mnt mkdir /mnt/boot mount /dev/nvme0n1p3 /mnt/boot
pacstrap /mnt base base-devel linux linux-firmware linux-headers sbctl neovim
genfstab -U /mnt >> /mnt/etc/fstab arch-chroot /mnt
ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime hwclock --systohc nvim /etc/locale.gen Uncomment: en_US.UTF-8 UTF-8 locale-gen echo LANG=en_US.UTF-8 > /etc/locale.conf
echo arch > /etc/hostname nvim /etc/hosts Add: 127.0.0.1[TAB]localhost ::1[TAB][TAB]localhost 127.0.1.1[TAB]arch.localdomain[TAB]arch
passwd useradd -m sowntee passwd sowntee usermod -aG wheel,audio,video,optical,storage,power sowntee EDITOR=nvim visudo Add: sowntee ALL=(ALL) ALL sowntee ALL=(ALL:ALL) NOPASSWD: /usr/bin/systemctl, /usr/sbin/rfkill Uncomment: %wheel ALL=(ALL) ALL
sudo pacman -S netctl networkmanager ifplugd dhcpcd dialog wpa_supplicant wireless_tools sudo systemctl enable NetworkManager dhcpcd
sudo pacman -S grub os-prober efibootmgr ntfs-3g mtools dosfstools sudo nvim /etc/default/grub Uncomment: GRUB_DISABLE_OS_PROBER=false grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB sudo grub-mkconfig -o /boot/grub/grub.cfg
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --modules="tpm" --disable-shim-lock sudo grub-mkconfig -o /boot/grub/grub.cfg sudo sbctl create-keys sudo sbctl sign -s /boot/EFI/GRUB/grubx64.efi sudo sbctl sign -s /boot/EFI/Boot/bootx64.efi sudo sbctl sign -s /boot/vmlinuz-linux sudo chattr -i /sys/firmware/efi/efivars/* sudo sbctl enroll-keys -mi
exit unmount -R /mnt reboot
mkdir Windows sudo mount -t ntfs-3g -o ro /dev/nvme0n1p3 $HOME/Windows
sudo nvim /etc/pacman.conf Uncomment: [multilib] Include = /etc/pacman.d/mirrorlist sudo pacman -S --needed nvidia nvidia-utils lib32-nvidia-utils nvidia-settings vulkan-icd-loader lib32-vulkan-icd-loader nvidia-prime --noconfirm sudo nvim /etc/default/grub Add: nvidia_drm.modeset=1 on GRUB_CMDLINE_LINUX_DEFAULT sudo grub-mkconfig -o /boot/grub/grub.cfg reboot