If on a wireless connection, see [[Wireless Setup]] to determine if you need to load extra firmware for your device. Assuming your device is correctly loaded and working, you will need to establish a connection to your router. This can be done using {{ic|wifi-menu}} or manually as outlined below.

If on a wireless connection, see [[Wireless Setup]] to determine if you need to load extra firmware for your device. Assuming your device is correctly loaded and working, you will need to establish a connection to your router. This can be done using {{ic|wifi-menu}} or manually as outlined below.

−

If you have a WPA protected router, run {{ic|wpa_passphrase "Your Router SSID" "Your WPA Key" > /etc/wpa_supplicant.conf}} followed by {{ic|wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf}}. Either run this command with {{ic|& >/dev/null}} or switch to another tty and run {{ic|dhcpcd wlan0}}.

+

If you have a WPA protected router, run {{ic|wpa_passphrase "Your Router SSID" "Your WPA Key" > /etc/wpa_supplicant.conf}} followed by {{ic|wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf}}. Either run this command with {{ic|& >/dev/null}}, switch to another tty and run {{ic|dhcpcd wlan0}}, or simply use the {{ic|-B}} switch to daemonize wpa-supplicant.

In addition, it's a good idea to read the wiki articles on these subjects.

Keyboard layout

For many countries and keyboard types appropriate keymaps are available already, and a command like loadkeys uk might do what you want. More available keymap files can be found in /usr/share/kbd/keymaps/ (you can omit the keymap path and file extension when using loadkeys).

Partition disks

Format partitions

If you are using (U)EFI you will most probably need another partition to host the UEFI System partition. Read this article.

Mount the partitions

We now must mount the root partition on /mnt. You should also create directories for and mount any other partitions (/mnt/boot, /mnt/home, ..) if you want them to be detected by genfstab.

Connect to the internet

Assuming a wired connection, running dhclient is sufficient to get a lease. For more info visit configuring network.
For Eg. you can try ip link set eth0 up and dhclient eth0.

Wireless

If on a wireless connection, see Wireless Setup to determine if you need to load extra firmware for your device. Assuming your device is correctly loaded and working, you will need to establish a connection to your router. This can be done using wifi-menu or manually as outlined below.

If you have a WPA protected router, run wpa_passphrase "Your Router SSID" "Your WPA Key" > /etc/wpa_supplicant.conf followed by wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf. Either run this command with & >/dev/null, switch to another tty and run dhcpcd wlan0, or simply use the -B switch to daemonize wpa-supplicant.

Install the base system

Before installing, you may want to edit /etc/pacman.d/mirrorlist such that your preferred mirror is first. This copy of the mirrorlist will be installed on your new system by pacstrap as well, so it's worth getting it right.

Using the pacstrap script we install the base system. The base-devel package group should also be installed if you plan on compiling software from the AUR or using ABS.

# pacstrap /mnt base base-devel

Other packages can be installed by appending their names to the above command (space seperated), including the bootloader if you want.