- Connect LAN wire
- replace eno1 by specific interface name (Eg. enp3s0, or eth0 etc..)
- replace IP address/netmask (here i am using 10.107.2.218/20)
- my gateway is 10.107.1.25, feel free to change that also
- 10.107.1.1 is just a device with an IP address within the network
- Following commands can come handy:
systemctl stop dhcp
ip link set dev eno1 up
ip address add 10.107.2.218/20 broadcast + dev eno1
ip address show
ip route
ip route add default via 10.107.1.250 dev eno1
ping 10.107.1.1
echo "nameserver 10.107.1.1" >> /etc/resolv.conf
echo "nameserver 10.200.1.11" >> /etc/resolv.conf
echo "nameserver 10.200.11.1" >> /etc/resolv.conf
Use any one of the below commands to setup internet
curl -d "uname=<..>&passwd=<..>" https://internet.iitb.ac.in/index.php
[OR]
export http_proxy="http://10.107.1.1:8080"
export https_proxy="http://10.107.1.1:8080"
- Now our network is setup
- I want Arch to be installed on /dev/sda11 ~ 85 GB
- I have a home partition in /dev/sda7 ~ 400 GB
- UEFI Mode ONLY: my efi boot partition is on /dev/sda2 ~ 100MB
- my swap partition is on /dev/sda5 ~ 2* RAM Size ~ 16 GB
mount /dev/sda11 /mnt
mount /dev/sda7 /home
mkdir /mnt/boot
mount /dev/sda2 /mnt/boot
swapon /dev/sda5
- You can just follow the instructions from Arch Linux Instruction manual
pacstrap /mnt base