Use cfdisk
command to create partitions. If you have 1 disk only, you need (at least) 2 partitions:
- Boot (/dev/sda1)
- Root (/dev/sda2)
mkfs.ext4 /dev/sda1
mkfs.ext4 /dev/sda2
Mount Root partition:
mount /dev/sda2 /mnt
Create following folders:
mkdir /mnt/{boot,var,home}
Mount Boot partition:
mount /dev/sda1 /mnt/boot
pacstrap /mnt base
pacstrap /mnt grub-bios
genfstab –p /mnt >> /mnt/etc/fstab
arch-chroot /mnt
mkinitcpio –p linux
grub-mkconfig –o /boot/grub/grub.cfg
grub-install /dev/sda
passwd
exit
umount /mnt/boot /mnt
systemctl reboot
Interfaces are now prefixed with en (ethernet), wl (WLAN), or ww (WWAN) followed by an automatically generated identifier, creating an entry such as enp0s25.
Grab the adapter name:
ip link
Start the dhcp:
systemctl start dhcpd@en{your_adapt_id}.service
If it works, enable it at boot:
systemctl enable dhcpd@en{your_adapt_id}.service
wifi-menu # allows to set up Wireless connection settings.
hostnamectl set-hostname # allows to set up new hostname
timedatectl set-timezone US/Pacific # Sets the time zone to US/Pacific (Timezones are located in /usr/share/zoneinf/)
vi /etc/locale.gen # contains all available locals, uncomment appropriate lines
locale-gen
localectl set-locale LANG="en_US.UTF-8"
systemctl enable dhcpcd@eth0.service # enables DHCP upon boot
systemctl start dhcpcd@eth0.service # starts DHCP
timedate set-local-rtc true # Sets hardware clock to local time