Skip to content
Anton Hvornum edited this page Aug 19, 2020 · 16 revisions

Below are a set of quick instructions to build your own ISO.
For a more detailed documentation of the project, see the official documentation.

Building your own ISO

Step 1: Setup archiso

The best thing you can do, is follow the official documentation for archiso on Arch Linux Wiki.
But the gist is this:

# mkdir -p ./archiso
# cd ./archiso
# cp -r /usr/share/archiso/configs/releng/* ./

Step 2: Updated pacman.conf in build environment.

We need to update the pacman.conf for the build environment.
The addition will be a custom mirror pointing towards archlife.

[archlife]
Server = https://archlinux.life/$repo/os/$arch
SigLevel = Optional TrustAll

Step 3: Add packages to packages.x86_64

python
archinstall

archinstall is pckaged in the archlife mirror.

Step 4: Create a skel .zprofile for autolaunch

While standing in the archiso folder, create and add the following:

# mkdir -p ./airootfs/etc/skel
# cat <<EOF >> ./airootfs/etc/skel/.zprofile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "archinstall"
EOF

This will auto launch the archinstall command without arguments.
In this mode, it will start a guided installation of archinstall.

This is the same setup you'll find on https://archlinux.life.

Clone this wiki locally