This document be a guide fo' installin Arch Linux rockin tha live system booted from a installation medium made from a straight-up legit installation image. For alternatizzle meanz of installation, peep Category:Installation process.

Before installing, it would be advised ta view tha FAQ. For conventions used up in dis document, peep Help:Reading. In particular, code examplez may contain placeholdaz (formatted up in italics ) dat must be replaced manually.

For mo' detailed instructions, peep tha respectizzle ArchWiki articlez or tha various programs' man pages, both linked from dis guide. For interactizzle help, tha IRC channel n' tha forums is also available.

Arch Linux should run on any x86_64-compatible machine wit a minimum of 512 MiB RAM, though mo' memory is needed ta boot tha live system fo' installation.[1] A basic installation should take less than 2 GiB of disk space fo' realz. As tha installation process need ta retrieve packages from a remote repository, dis guide assumes a hustlin internizzle connection be available.

Pre-installation

Acquire a installation image

Smoke up tha Download page and, dependin on how tha fuck you wanna boot, acquire tha ISO file or a netboot image, n' tha respectizzle GnuPG signature.

Verify signature

It be recommended ta verify tha image signature before use, especially when downloadin from a HTTP mirror, where downloadz is generally prone ta be intercepted ta serve malicious images.

On a system wit GnuPG installed, do dis by downloadin tha PGP signature (under Checksums up in tha Download page) ta tha ISO directory, n' verifying it with:

$ gpg --keyserver-options auto-key-retrieve --verify archlinux-version-x86_64.iso.sig

Alternatively, from a existin Arch Linux installation run:

$ pacman-key -v archlinux-version-x86_64.iso.sig

Note: Da signature itself could be manipulated if it is downloaded from a mirror site, instead of from archlinux.org as above. In dis case, ensure dat tha hood key, which is used ta decode tha signature, is signed by another, trustworthy key. Da gpg command will output tha fingerprint of tha hood key.

command will output tha fingerprint of tha hood key. Another method ta verify tha authenticitizzle of tha signature is ta ensure dat tha hood keyz fingerprint is identical ta tha key fingerprint of tha Arch Linux pimper whoz ass signed tha ISO-file. Right back up in yo muthafuckin ass. See Wikipizzle:Public-key cryptography fo' mo' shiznit on tha public-key process ta authenticate keys.

Prepare a installation medium

Da installation image can be supplied ta tha target machine via a STD flash drive, a optical disc or a network wit PXE: follow tha appropriate article ta prepare yo ass a installation medium from tha chosen image.

Boot tha live environment

Point tha current boot thang ta tha one which has tha Arch Linux installation medium. Typically it be bigged up by pressin a key durin tha POST phase, as indicated on tha splash screen. I aint talkin' bout chicken n' gravy biatch. Refer ta yo' motherboardz manual fo' details. When tha installation mediumz boot loader menu appears, select Arch Linux install medium n' press Enter ta enta tha installation environment. Tip: Da installation image uses Da installation image uses systemd-boot fo' bootin up in UEFI mode n' syslinux fo' bootin up in BIOS mode. Right back up in yo muthafuckin ass. See README.bootparams fo' a list of boot parameters Yo ass is ghon be logged up in on tha straight-up original gangsta virtual console as tha root user, n' presented wit a Zsh shell prompt.

To switch ta a gangbangin' finger-lickin' different console�"for example, ta view dis guide wit Lynx alongside tha installation�"use tha Alt+arrow shortcut. To edit configuration files, , nano n' vim is available. Right back up in yo muthafuckin ass. See packages.x86_64 fo' a list of tha packages included up in tha installation medium.

Set tha keyboard layout

Da default console keymap is US fo' realz. Available layouts can be listed with:

# ls /usr/share/kbd/keymaps/**/*.map.gz

To modify tha layout, append a cold-ass lil correspondin file name ta , omittin path n' file extension. I aint talkin' bout chicken n' gravy biatch. For example, ta set a German keyboard layout:

# loadkeys de-latin1

Console fonts is located up in /usr/share/kbd/consolefonts/ n' can likewise be set wit .

Verify tha boot mode

To verify tha boot mode, list tha efivars directory:

# ls /sys/firmware/efi/efivars

If tha command shows tha directory without error, then tha system is booted up in UEFI mode. If tha directory do not exist, tha system may be booted up in BIOS (or CSM) mode. If tha system did not boot up in tha mode you desired, refer ta yo' motherboardz manual.

Connect ta tha internet

To set up a network connection up in tha live environment, go all up in tha followin steps:

Ensure yo' network intercourse is listed n' enabled, fo' example wit : # ip link

For wireless, make shizzle tha wireless card aint blocked wit rfkill.

Connect ta tha network: Ethernet�"plug up in tha cable. Wi-Fi�"authenticate ta tha wireless network rockin iwctl.

Configure yo' network connection: DHCP: dynamic IP address n' DNS server assignment (provided by systemd-networkd n' systemd-resolved) should work outta tha box fo' wired n' wireless network intercourses. Static IP address: follow Network configuration#Static IP address.

Da connection may be verified wit ping: # pin archlinux.org

Note: In tha installation image, In tha installation image, systemd-networkd systemd-resolved n' iwd is preconfigured n' enabled by default. That aint gonna be tha case fo' tha installed system.

Use ta ensure tha system clock be accurate:

# timedatectl set-ntp true

To check tha steez status, use timedatectl status .

Partizzle tha disks

When recognized by tha live system, disks is assigned ta a block device like fuckin /dev/sda , /dev/nvme0n1 or /dev/mmcblk0 . To identify these devices, use lsblk or fdisk.

# fdisk -l

Results endin up in rom , loop or airoot may be ignored.

Da followin partitions is required fo' a cold-ass lil chosen device:

One partizzle fo' tha root directory / .

. For bootin up in UEFI mode: a EFI system partition.

If you wanna create any stacked block devices fo' LVM, system encryption or RAID, do it now, nahmeean?

Example layouts

BIOS wit MBR Mount point Partition Partizzle type Suggested size [SWAP] /dev/swap_partition Linux swap Mo' than 512 MiB /mnt /dev/root_partition Linux Remainder of tha device

UEFI wit GPT Mount point Partition Partizzle type Suggested size /mnt/boot or /mnt/efi /dev/efi_system_partition EFI system partition At least 260 MiB [SWAP] /dev/swap_partition Linux swap Mo' than 512 MiB /mnt /dev/root_partition Linux x86-64 root (/) Remainder of tha device

Yo, peep also Partitioning#Example layouts.

Note: Use fdisk or parted ta modify partizzle tables, fo' example fdisk /dev/the_disk_to_be_partitioned .

. Swap space can be set on a swap file fo' file systems supportin dat shit.

If tha disk from which you wanna boot already has a EFI system partition, do not create another one yo, but use tha existin partizzle instead.

Format tha partitions

Once tha partitions done been pimped, each newly pimped partizzle must be formatted wit a appropriate file system. For example, ta create a Ext4 file system on /dev/root_partition , run:

# mkfs.ext4 /dev/root_partition

If you pimped a partizzle fo' swap, initialize it wit :

# mkswap /dev/swap_partition

Yo, peep File systems#Smoke a gangbangin' file system fo' details.

Note: For stacked block devices replace /dev/*_partition wit tha appropriate block thang path.

Mount tha file systems

Mount tha root volume ta /mnt . For example, if tha root volume is /dev/root_partition :

# mount /dev/root_partition /mnt

Yo, smoke any remainin mount points (like fuckin /mnt/efi ) rockin n' mount they correspondin volumes.

If you pimped a swap volume, enable it wit :

# swapon /dev/swap_partition

will lata detect mounted file systems n' swap space.

Installation

Select tha mirrors

Packages ta be installed must be downloaded from mirror servers, which is defined up in /etc/pacman.d/mirrorlist . On tha live system, afta connectin ta tha internet, reflector thugged-out shiznit tha mirror list by choosin 70 most recently synchronized HTTPS mirrors n' sortin dem by downlizzle rate.[2]

Da higher a mirror is placed up in tha list, tha mo' prioritizzle it is given when downloadin a package. Yo ass may wanna inspect tha file ta peep if it is satisfactory. If it is not, edit tha file accordingly, n' move tha geographically closest mirrors ta tha top of tha list, although other criteria should be taken tha fuck into account.

This file will lata be copied ta tha freshly smoked up system by pacstrap, so it is worth gettin right.

Install essential packages

Use tha script ta install tha package, Linux kernel n' firmware fo' common hardware:

# pacstrap /mnt base linux linux-firmware

Tip: Yo ass can substitute fo' a kernel package of yo' chizzle, or you could omit it entirely when installin up in a container.

Yo ass could omit tha installation of tha firmware package when installin up in a virtual machine or container.

Da package do not include all tools from tha live installation, so installin other packages may be necessary fo' a gangbangin' straight-up functionizzle base system. In particular, consider installing:

userspace utilitizzles fo' tha pimpment of file systems dat is ghon be used on tha system,

utilitizzles fo' accessin RAID or LVM partitions,

specific firmware fo' other devices not included up in ,

software necessary fo' networking,

a text editor,

packages fo' accessin documentation up in man n' info pages: , n' .

To install other packages or package groups, append tha names ta tha pacstrap command above (space separated) or use pacman while chrooted tha fuck into tha freshly smoked up system. For comparison, packages available up in tha live system can be found up in packages.x86_64.

Configure tha system

Fstab

Generate a fstab file (use -U or -L ta define by UUID or labels, respectively):

# genfstab -U /mnt >> /mnt/etc/fstab

Peep tha resultin /mnt/etc/fstab file, n' edit it up in case of errors.

Chroot

Change root tha fuck into tha freshly smoked up system:

# arch-chroot /mnt

Time unit

Yo, set tha time unit:

# ln -sf /usr/share/zoneinfo/Region/City /etc/localtime

Run ta generate /etc/adjtime :

# hwclock --systohc

This command assumes tha hardware clock is set ta UTC. Right back up in yo muthafuckin ass. See System time#Time standard fo' details.

Localization

Edit /etc/locale.gen n' uncomment en_US.UTF-8 UTF-8 n' other needed localez. Generate tha localez by hustlin:

# locale-gen

Yo, smoke tha file, n' set tha LANG variable accordingly:

/etc/locale.conf

LANG=en_US.UTF-8

If you set tha keyboard layout, make tha chizzlez persistent up in :

/etc/vconsole.conf

KEYMAP=de-latin1

Network configuration

Yo, smoke tha hostname file:

/etc/hostname

myhostname

Add matchin entries ta :

/etc/hosts

127.0.0.1 localhost ::1 localhost 127.0.1.1 myhostname.localdomain myhostname

If tha system has a permanent IP address, it should be used instead of 127.0.1.1 .

Complete tha network configuration fo' tha newly installed environment, dat may include installin suitable network pimpment software.

Initramfs

Creatin a freshly smoked up initramfs is probably not required, cuz mkinitcpio was run on installation of tha kernel package wit pacstrap.

For LVM, system encryption or RAID, modify n' recreate tha initramfs image:

# mkinitcpio -P

Root password

Yo, set tha root password:

# passwd

Boot loader

Choose n' install a Linux-capable boot loader. If you have a Intel or AMD CPU, enable microcode thugged-out shiznit up in addition.

Reboot

Exit tha chroot environment by typin exit or pressin Ctrl+d .

Optionally manually unmount all tha partitions wit umount -R /mnt : dis allows noticin any "busy" partitions, n' findin tha cause wit .

Finally, restart tha machine by typin reboot : any partitions still mounted is ghon be automatically unmounted by systemd. Remember ta remove tha installation medium n' then login tha fuck into tha freshly smoked up system wit tha root account.

Post-installation

Yo, peep General recommendations fo' system pimpment directions n' post-installation tutorials (like settin up a graphical user intercourse, sound or a touchpad).

For a list of applications dat may be of interest, peep List of applications.