Installation Guide - ArchWiki - Part 4
Installation Guide - ArchWiki - Part 4
2 Installation
The higher a mirror is placed in the list, the more priority it is given when downloading a package.
You may want to inspect the file to see if it is satisfactory. If it is not, edit the file accordingly, and
move the geographically closest mirrors to the top of the list, although other criteria should be taken
into account.
This file will later be copied to the new system by pacstrap, so it is worth getting right.
Tip:
You can substitute linux (https://archlinux.org/packages/?name=linux) for a
kernel package of your choice, or you could omit it entirely when installing in a container.
You could omit the installation of the firmware package when installing in a virtual machine or
container.
userspace utilities for the management of file systems that will be used on the system,
utilities for accessing RAID or LVM partitions,
specific firmware for other devices not included in linux-firmware (https://archlinux.o
rg/packages/?name=linux-firmware) (e.g. sof-firmware (https://archlinux.or
g/packages/?name=sof-firmware) for sound cards),
software necessary for networking (e.g. a network manager or DHCP client),
a text editor,
packages for accessing documentation in man and info pages: man-db (https://archlinu
x.org/packages/?name=man-db), man-pages (https://archlinux.org/packages/?
name=man-pages) and texinfo (https://archlinux.org/packages/?name=texinf
o).
To install other packages or package groups, append the names to the pacstrap command above
(space separated) or use pacman while chrooted into the new system. For comparison, packages
available in the live system can be found in pkglist.x86_64.txt (https://geo.mirror.pkgbuild.c
om/iso/latest/arch/pkglist.x86_64.txt).
3.1 Fstab
Generate an fstab file (use -U or -L to define by UUID or labels, respectively):
3.2 Chroot
Change root into the new system:
# arch-chroot /mnt
# hwclock --systohc
This command assumes the hardware clock is set to UTC. See System time#Time standard for
details.
3.4 Localization
Edit /etc/locale.gen and uncomment en_US.UTF-8 UTF-8 and other needed locales.
Generate the locales by running:
# locale-gen