- connect to internet and just use
archinstallor follow the rest of guide if you don't want to use it. - lsblk (list block devices)
- partition disks using
cfdisk- /boot/efi (>100M and < 1G)
- SWAP (2x your system memory)
- / (root) (rest of the space)
- opt. seperate /home partition (not covered in this guide)
- format to specific filetypes
mkfs.ext4 /dev/nvme0n1p3
mkfs.fat -F 32 /dev/nvme0n1p1
mkswap /dev/nvme0n1p2- mount drives
mount /dev/nvme0n1p3
mkdir -p /mnt/boot/efi
mount /dev/nvme0n1p1
SWAPON /dev/nvme0n1p2- install arch (yay!)
pacstrap /mnt base linux linux-firmware sof-firmware base-devel grub efibootmgr nano networkmanager- generate fstab
genfstab /mnt > /mnt/etc/fstab- chroot into arch uwu
arch-chroot /mnt
- Timezone
ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
- check with
date - localization
nano /etc/locale.gen
(find the en_US.UTF-8 UTF-8 and uncomment)
locale-gen
nano /etc/locale.conf # LANG=en_US.UTF-8
- keybaord layout (optional, default = US)
- hostname
nano /etc/hostname # edit file with hostname
- root passwd and add user (replace
agwith your username)
passwd
useradd -m -G wheel -s /bin/bash ag
passwd ag
- visudo
EDITOR=nano visudo # uncommect %sudo ALL=(ALL) ALL
sudo pacman -Syu
- enable system core services
systemctl enable NetworkManager
- install grub
grub-install /dev/nvme0n1
grub-mkconfig -o /boot/grub/grub.cfg
exit from chroot and umount -a and reboot ๐๐