## SIMPLE AND BRIEF INSTALLATION GUIDE FOR ARCHLINUX
## DO CHECK ARCHLINUX WIKI PAGE FOR FURTHER EXPLANATION AND GUIDES
## Here I am assuming a network with static ip configuration
[Link] dhcpcd service eno1 is ethernet interface. Find yours interface card by c
ommand "ip link" without quotes
systemctl stop [Link] eno1
[Link] your interface up
ip link set eno1 up
[Link] your ip address and route. Here is just and example
ip addr add [Link]/22 dev eno1 ## /22 is subnet mask
ip route add default via [Link]
[Link] dns server in resolve file [Link] an 11 here is my dns server. write yo
ur own network dns server.
nano /etc/[Link]
nameserver [Link]
nameserver [Link]
[Link] Proxy if you uses it
export http_proxy="username:password@host:port/"
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export rsync_proxy=$http_proxy
export no_proxy="localhost,[Link]"
[Link] disk using cfdisk .. Assuming disk to be mbr
lsblk ## lsblk displays all your partitions
cfdisk /dev/sdb ## assuming mine hard disk is "sdb" where I want
to install arch
[Link] your Hard disk unallocated partion into three. One for root, one for s
wap and one for home with appropriate size.
[Link] format the partion as below ,Assuming my partions are sdb5 --root sdb6 --s
wap and sdb7 --home
mkfs.ext4 /dev/sdb5
mkfs.ext4 /dev/sdb7
mkswap /dev/sdb6
swapon /dev/sdb6
mount /dev/sdb5 /mnt
mkdir /mnt/home
mount /dev/sdb7 /mnt/home
[Link] mirrorlist and add nearest mirror at the top from the list in following f
ile
nano /etc/pacman.d/mirrorlist ## If you are from India put IIT-Kanpur a
t top.
[Link] install base system and generate fstab as below
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt : sed 's/rw,realtime,data=ordered/defaults,realtim
e/' >> /mnt/etc/fstab
[Link] chroot into your new system and edit locale file to uncomment (remove # f
rom your preferred language)
arch-chroot /mnt
nano /etc/[Link]
[Link] save it by ctrl plus x then yes and then type
locale=gen
echo LANG=en_US.UTF-8 > /etc/[Link]
export LANG=en_US.UTF-8
[Link] localtime assuming mine to be kolkata
ln -s /usr/share/zonetime/Asia/Kolkata/etc/localtime
hwclock --systohc --utc
[Link] pacman file to uncomment multilib and include repository and save it.
nano /etc/[Link]
[Link] generate initial ram disk as below
mkinitcpio -p linux
[Link] root password by typing command
passwd
[Link] a user as below supposing my username is dxd and then add password
useradd -m -g users -G wheel -s /bin/bash dxd
passwd dxd
[Link] update repository and install grub bootmanager
pacman -Syy
pacman -S grub-bios
pacman -S os-prober
grub-install /dev/sdb
grub-mkconfig -o /boot/grub/[Link]
[Link] exit from chroot by typing
exit
[Link] mounted volume as below and reboot and also remove installation media
(cd or usb stick)
umount /mnt/home
umount /mnt
reboot
[Link] login as root user and install sudo and edit it to give superuser access
to users like dxd here and then reboot
root
pacman -S sudo
nano /etc/sudoers
dxd All=(All) All ## This is the line in sudoers file root ALL=(ALL) Al
l . replace root to dxd
reboot
[Link] login as user here dxd
dxd ## and then type your user password
[Link] again follow steps 1 to 5 to establish internet connection and then insta
ll gnome (a window manager)
pacman -S gnome xorg
systemctl enable [Link]
reboot
[Link] you will prompted with nice dialog box asking user and password, select y
our user and type password and then configure
your system for net using network manager and then enjoy ARCHLINUX.....
Thanks for following...
ANY SUGGESTION AND REQUEST FOR EDITING IS ACCEPTABLE.
MAIL ME at s.sumitsaxena93@[Link]