-
Use wifi-menu to connect to network
-
Visit https://www.archlinux.org/mirrorlist/ on another computer, generate mirrorlist
-
Edit /etc/pacman.d/mirrorlist on the Arch computer and paste the faster servers
-
Update package indexes:
# pacman -Syyy
-
Create root partition:
# fdisk /dev/sda
* o (to create an empty DOS partition table) * n * 1 * enter * +50G (Storage for root) * w
-
# mkfs.ext4 /dev/sda1
-
# mount /dev/sda1 /mnt
-
# pacstrap -i /mnt base base-devel
-
# genfstab -U -p /mnt >> /mnt/etc/fstab
-
# arch-chroot /mnt
-
# pacman -S nano grub-bios network-manager-applet networkmanager networkmanager-openvpn wireless_tools wpa_supplicant linux-headers linux mkinitcpio
-
# mkinitcpio -p linux
-
# nano /etc/locale.gen
(uncomment en_US.UTF-8) -
# locale-gen
-
# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime
-
# hwclock --systohc --utc
-
# passwd
(for setting root password) -
# grub-install --target=i386-pc --recheck /dev/sda
-
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
-
# grub-mkconfig -o /boot/grub/grub.cfg
-
Create swap file:
# fallocate -l 2G /swapfile
# chmod 600 /swapfile
# mkswap /swapfile
# echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
-
# exit
-
# umount -a
-
# reboot