archuseriso

Source: https://github.com/laurent85v/archuseriso


Modifications

Source: https://wiki.archlinux.org/title/Archiso#Prepare_an_ISO_for_an_installation_via_SSH

Image generation mods


copy a archuseriso profile to use as a base:

cp /usr/share/archuseriso/profiles/kde myprofile

create .ssh dir for authorized_keys:

mkdir myprofile/airootfs/root/.ssh

install key:

cat ~/.ssh/id_ed25519.pub >> myprofile/airootfs/root/.ssh/authorized_keys

Set correct permissions and ownership for the .ssh directory and the authorized_keys file:

myprofile/profiledef.sh

...
file_permissions=(
  ...
  ["/root"]="0:0:0750"
  ["/root/.ssh"]="0:0:0700"
  ["/root/.ssh/authorized_keys"]="0:0:0600"
)

Post USB first boot mods


Stop SDDM so we can rename live user, this can take a moment:

systemctl stop sddm

rename live user to vociferous:

usermod -l vociferous live

rename home directory:

usermod -d /home/vociferous -m vociferous

rename live group to vociferous:

groupmod -n vociferous live

change the autologin user to vociferous:

sed -i 's/User=live/User=vociferous/' /etc/sddm.conf.d/autologin.conf

gief morah permissions:

usermod -G wheel,log,uucp vociferous

reboot


Last modified: Mon Mar 31 22:02:35 2025