I’m just writing this to put together the steps I have used to install arch linux on a rapsberry pi5.
I have mainly followed those two guides, but mainly followed the same steps as the first one with a few small changes:
- Sven Kiljan’s post - Arch Linux ARM on a Raspberry Pi 5 Model B.
- Main steps on preparing the microsd card with arch.
- Rapsberry tips - Installing Arch Linux On Raspberry Pi: A Complete Guide.
- Used this guide more as a small reference for certain small things for the installation.
- My repo with the scripts I have used / changed based on kilian’s scripts: archlinux-rapsberrypi.
- Mainly fixes for the links and a few small changes for both scripting steps for
Sven Kiljan'spost.
- Mainly fixes for the links and a few small changes for both scripting steps for
Next steps:
- Will need to adapt some scripts still, but mostly the steps there are working to setup from my own ubuntu machine the whole boot on the SD card.
- With the script I can setup several nodes later on with the same process.
- I was able to set up the wifi connection as well with
wifi-menu. - Could then update the kernel and boot loader, as explained by
kiljanon his page atUpdate Arch Linux ARM.
And then the reboot worked perfectly and here it is the arch on my rapsberry pi5:
[root@alarm alarm]# cat /etc/os-release
NAME="Arch Linux ARM"
PRETTY_NAME="Arch Linux ARM"
ID=archarm
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinuxarm.org/"
DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
SUPPORT_URL="https://archlinuxarm.org/forum"
BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
LOGO=archlinux-logo
[root@alarm alarm]#
[root@alarm alarm]# hostnamectl hostname
alarm
[root@alarm alarm]#
[root@alarm alarm]# hostnamectl status
Static hostname: alarm
Icon name: computer
Machine ID: 7369543c3f90463a87d9a309e7b190d1
Boot ID: 439242d4d320439fa263c1f14f33f474
Operating System: Arch Linux ARM
Kernel: Linux 6.18.7-1-rpi
Architecture: arm64
Hardware Serial: <removed>