This turbo install guide makes a lot of assumptions on what you want and doesn't cover many real world setups. Always follow the official wiki if in doubt.
Alternatively, check out our installer when it's ready.
To partition disks, always use
cgdisk unless you have a good reason not to. It's just the best, like a 🦈.
Find the names of your disks using
In this guide, the first SATA disk (
sda) is used. On a modern computer, you may use
nvme0n1 or even
mmcblk0 on embedded systems.
Try to make it look something like:
/dev/sda1 200M (ef00) /boot /dev/sda2 $REST_OF_HDD (8300) /
The first partition will store the bootloader and the kernel, and will be read by the UEFI to boot. The second one will contain Arch.
Format the partitions and mount them.
On an SSD,
f2fsis recommended instead of
ext4for unparalled speed.
mkfs.vfat -F 32 /dev/sda1 mkfs.ext4 /dev/sda2 mount /dev/sda2 /mnt mkdir /mnt/boot mount /dev/sda1 /mnt/boot
If Ethernet was plugged in during boot, it will be ready.
When plugging it after the fact, it's best to just reboot. Alternatively, run
killall dhpcd and run
dhcpcd again to get an IP address.
No, that didn't make sense, but it works way too well.
If a WiFi install is absolutely necessary, run the Arch installer-exclusive
Check your internet connectivity with
ping before continuing.
To install packages to a folder instead of normally,
pacstrap is used. Here a good set of packages to get a running system is provided.
This can also be used to fix a broken system, such as one turned off during an update, by reinstalling damaged packages.
pacstrap /mnt base base-devel linux linux-firmware f2fs-tools nano xorg-server gnome gnome-extra firefox networkmanager htop zsh grml-zsh-config
The art of running a process as if it was in another system.
It's time to enter the freshly installed Arch rootfs!
arch-chroot /mnt /bin/zsh
systemd-boot will be the bootloader used. It boots entries stored at
/boot/loader/entries/ and is configured at
Copy an example boot entry to the correct place and then edit it.
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/ nano /boot/loader/entries/arch.conf
You will need to edit the
options line so your kernel is told where to find your Arch partition. In this guide, the file would end up like this:
title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=/dev/sda2 rw
Once this is done, your Arch install is fully bootable!
However, don't reboot just yet. There are still some things to do before getting into a properly running system.
There is a big caveat here which is good to read.
At least a language needs to be generated and set as the preferred system language.
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen echo LANG=en_US.UTF-8 > /etc/locale.conf locale-gen
root's password and its shell, then add your user and change their password too.
passwd chsh root -s /bin/zsh useradd -m -G wheel -s /bin/zsh user passwd user
Upon bootup, NetworkManager will manage our network interfaces and a graphical login screen provided by GDM will be shown.
systemctl enable NetworkManager gdm
And we are truly done!
but it sucks, blackscreens and lasts 5 minutes on battery
Unless some major hardware quirks are happening (damn you, NVIDIA!) you should be able to start using your computer now.
What to do now is heavily dependent on your hardware and desktop environment. A few common tips are provided.
timedatectl set-timezone Europe/Madrid timedatectl set-ntp true
You always have the TTYs.
Press ctrl+alt+F4 and login normally.
Read the pacman rosetta.
pacman -Syu thingy1 thingy2 ... to install thingy1 and thingy2.
It works, you are just not allowed to use it.
Login as root and edit /etc/sudoers.
Uncomment (remove the #) from this line near the end of the file.
# %wheel ALL=(ALL) ALL
nmtui to control NetworkManager from a terminal.
bluez-utils and enable the service
systemctl enable --now bluetooth.
Bluetooth audio needs
When using a minimal desktop environment you can try some of the applets such as
gnome-bluetooth to control it.
pavucontrol to completely manage your audio needs.
Mics by default come muted. Unmute it and/or boost it.
A similar deal happens with bluetooth audio, by default it runs on basically analog phone emulation mode.
Change to high quality audio profile to not instantly die upon music playback.
The TLP daemon tunes tunables inside the heavily tunable Linux kernel so you have a semblance of battery life.
You can also install it in normal desktops and it makes some difference in wall power draw.
tlp and enable it, which is quirky.
systemctl enable --now tlp tlp-sleep systemctl mask systemd-rfkill.socket
Using partition names to boot instead of their unique identifiers will cause the OS not to boot if (when) the partition count or disk order of the computer changes.
It may change even across reboots. To avoid this issue, extract your partition's
blkidand edit your options line accordingly.
title Arch Linux linux /vmlinuz-linux initrd /initramfs-linux.img options root=PARTUUID="9b505600-2d6a-3660-b0c3-d2dfd653c5fd" rw
As long as your firmware doesn't change disk order randomly, and you know what to touch if it breaks, you can ignore this.
nvidia-utils as normal.
These by default will hijack your screen and run everything with the NVIDIA card. The NVIDIA control panel allows you to turn the GPU off completely.
However, this doesn't really work on some laptops, which will just blackscreen or exhibit buggy behavior.
Plus, it drains the battery pretty much instantly.
bumblebee so the integrated graphics have priority and activate its service:
systemctl enable bumblebeed.
You will need to add your user to the
bumblebee group. Run
gpasswd -a yourusername bumblebee.
To run programs with the NVIDIA card, run
optirun program. For Steam games, change their executable command line to
Finally, to allow the card to turn off completely when unused, install
Even LESS laptops will like that. The workaround involves editing your kernel cmdline options to blacklist a little bit of Windows-specific BIOS code.
acpi_osi=! acpi_osi="Windows 2012". Try with 2009 or 2015 instead for 9xxm and 20xx series respectively if it doesn't work.
More information can be found at the usual place