Bloggings

Home

Headless Arch Install

2025-03-21

I have a micro pc I'd like to use as a web server

It doesn't have a screen so I'll need to do a headless installation

I found some simple instructions here: https://tarneo.fr/posts/arch_headless/


sudo pacman -S archiso mkdir arch-headless && cd arch-headless cp -r /usr/share/archiso/configs/releng/ . mkdir releng/airootfs/root/.ssh/ cp ~/.ssh/id_rsa.pub releng/airootfs/root/.ssh/authorized_keys sudo mkarchiso -v -o ./out ./releng Insert a usb key, mine is in /dev/sdc, and create a bootable usb drive dd if=./out/archlinux-2025.03.21-x86_64.iso of=/dev/sdc bs=4M; sync

Find the IP address of the machine, and ssh to it. You can then run archinstall for example.

 


A minimalist blog by Philip Wittamore