- after flashing the SD card via this procedure https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3
- connect HDMI cable to some monitor, usb keyboard and power, boot, login as root(pass root), root and enable and start sshd
# systemctl enable sshd
# systemctl start sshd
- if you connected ethernet cable note which LAN IP you got(ip addr) and continue to step 4. if you want to connect via WiFi see how to set it up using Systemd-networkd wiki
-
if you didn't connect to internet yet, turn off the pi gracefully (# shutdown now) and connect somewhere just with power and ethernet cable
-
check your router with DHCP server what IP it gave to Pi3, do ssh alarm@${Pi3'sIP}, default password for alarm is alarm
-
create own users and change root password and alarms too, if you don't wish to delete it
-
as alarm user, switch to root, default password is root
# su root
- update (will take some time depending on your sdcard, same for all the installations)
# pacman -Syu
- install basic stuff
# pacman -S htop sudo tmux vim mc
- change root's password via
# passwd
and alarm's password via (or delete it after you created your own user)
# passwd alarm
- if you wish to use alarm user, skip this step create your own user and set password to it via
# useradd -m -g wheel user
# passwd user
-m create home folder and -g wheel adds to wheel group usable for sudoers
then if you wish to delete the alarm user, first log out and login as your new user via ssh, then remove alarm
@ ssh user@${Pi3'sIP}
# su root
# userdel -r alarm
- edit sudoers to allow users in wheel group to run elevated commands(uncommented line 82) or just specify your user as the one (google arch sudo)
# EDITOR=vim visudo
- edit locale to your specified languages and run locale-gen (may take some time depending on your sd card)
# vim /etc/locale.gen
# locale-gen
- setup default lang, by adding for example LANG=en_US.UTF-8, put the value same as in those in /etc/locale.gen
# vim /etc/locale.conf
- if you don't like default UTC timezone, set your time zone e.g. CET,
# rm /etc/localtime
# ln -s /usr/share/zoneinfo/CET /etc/localtime
-
edit sshd config if needed
-
edit /etc/systemd/network/eth0.network if you want for example static IP, look on Systemd-networkd wiki for more details
-
Linux kernel was probably updated in the meantime, reboot and continue to use your alarmpi (or rename it in /etc/hostname)
Read arch wiki for config
need boot config
and PERHAPS the blacklist
# ln -s /opt/vc/bin/raspi /usr/bin/raspistill
# ln -s /opt/vc/bin/raspivid /usr/bin/raspivid