Search

Setup Arch Linux on Raspberry Pi

After you finished the setup of Arch on your SD card, you can start configuring this Linux Distro to your needs. Here’s my config…
Note: In case you need to resize your root partition it’s best to do it before you do anything else, this way you avoid the risk to loose any data. You can find a tutorial to this here.

Configure Arch

Change Root Password

passwd

Update all packages

pacman -Syu

Install some extra handy packages. These are all optional except for the sudo package. I use vim as my default editor, change it to nano if that’s your editor of choice.

pacman -S sudo screen vim git htop tmux

Setting up correct time

Install Network Time Protocol

pacman -S ntp

Install the NTP service

systemctl enable ntpd.service

Enable NTP

timedatectl set-ntp 1

Check your time settings

timedatectl status

Check your time zone. If it is not correct, call the list of available time zones (<space> for next page, <b> for previous page, <q> to quit):

timedatectl list-timezones

Set your time zone

timedatectl set-timezone Europe/Brussels

Add a new user

It’s a best practice to create a new user instead of doing everything under root.