- The written setup guide is not for beginners.. It is meant for people who have already setup base arch linux before. You should also be following the arch wiki.
- While the purpose of the guide is to replace the wiki installation guide, it was made with personal use in mind only. This guide also goes slightly beyond the scope of the arch wiki installation guide which doesn't cover everything (like bootloader, user creation and drivers). I know it is there on other pages but again this was with personal use in mind so I don't have to search stuff that I already know.
- Use ethernet where possible.
- IIITD BONUS: our institution internet connection is setup in a very interesting way to say the least. You will not be able to use ethernet on archiso because it doesn't use NetworkManager. You could force it to work by editing configs but you're better off with the next option.
- Alternatively use USB tethering with your phone.
iwctl
station wlan0 connect
station wlan0 scan
station wlan0 connect <SSID>
setfont ter-232n
reflector --sort rate --verbose --save /etc/pacman.d/mirrorlist -l 30 -c Singapore -c India
lsblk
wipefs -a -t gpt -f /dev/nvme0n1
cfdisk /dev/nvme0n1
- Just delete the memory allocated then follow the next steps.
- Then write and quit
wipefs -a -t dos -f /dev/nvme0n1
cfdisk /dev/<drive>
Select the following
- gpt
- p1 - resize - 500M - Type - EFI system
- p2 - resize - 8G - Type - Linux swap
- p3 - resize - rest of the size - Type - Linux root (x86-64)
- Write
- Quit
mkfs.ext4 /dev/<drive>p3
mkfs.fat -F 32 /dev/<drive>p1
mkswap /dev/<drive>p2
mount /dev/<drive>p3 /mnt
mount --mkdir /dev/<drive>p1 /mnt/boot
lsblk
swapon /dev/nvme0n1p2
Enable parallel downloads in /etc/pacman.conf to speed up pacstrap
pacstrap -K /mnt base base-devel linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
pacman -S vim
ln -sf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
hwclock --systohc
vim /etc/locale.gen
uncomment
en_US.UTF-8 UTF-8
locale-gen
LANG=en_US.UTF-8
KEYMAP=us
yourhostname
passwd
useradd -m -G wheel,audio,video,tty,input -s /bin/bash <username>
passwd <username>
EDITOR=vim visudo
uncomment
%wheel ALL=(ALL:ALL) ALL
bootctl --path=/boot install
default arch-*
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=/dev/<drive>p3 rw
mount /dev/<windows_drive>p1 /<new_dir>
cd /<new_dir>/EFI/
cp -r Microsoft/ /boot/EFI/
pacman -S sof-firmware networkmanager
systemctl enable NetworkManager
exit
reboot
vim /etc/pacman.conf
uncomment
ParallelDownloads = 5
sudo pacman -Syu
sudo pacman -S linux-headers git
sudo pacman -S pipewire pipewire-pulse pipewire-jack pipewire-alsa
sudo pacman -S xorg-server xorg-apps
sudo pacman -S nvidia
sudo pacman -S xf86-video-amdgpu
sudo pacman -S xf86-intel-video
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -rf yay
yay -S rate-mirrors-bin
rate-mirrors arch
sudo pacman -S lightdm lightdm-gtk-greeter qtile kitty
sudo systemctl enable lightdm
sudo pacman -S blueman bluez bluez-utils
- WiFi Cards:- RTW89_8852CE
- And facing issues with monitor display with nvidia cards
sudo pacman -S nvidia envycontrol
sudo envycontrol -s integrated
reboot
sudo envycontrol -s hybrid
reboot
git clone https://aur.archlinux.org/rtw-dkms-git.git
cd rtw89-dkms-git
makepkg -sri
- IMPORTANT: Our BIOS does not handle PCIe interface correctly. To compensate we run this command below:-
sudo cp 70-rtw89.conf /etc/modprobe.d/
This command is to be run in the git directory
sudo pacman -S python-iwlib python-psutil
yay -S qtile-extras upower
sudo pacman -S dunst picom neovim rofi nitrogen betterlockscreen playerctl
yay -S ttf-cascadia-code-nerd
You can select any wallpaper you like.
git clone https://github.com/FakePickle/dotfiles.git
cd dotfiles/Configs
cp -r nvim dunst picom qtile rofi ~/.confg/
git clone https://github.com/FakePickle/dotfiles.git
cd dotfiles/
chmod +x automatic_install.sh
./automatic_install.sh