Build VeloxOS from Source
import { Steps } from ‘@astrojs/starlight/components’;
This guide explains how to build a fresh VeloxOS ISO. Since VeloxOS leverages the performance of CachyOS on top of a Manjaro base, your host system must be prepared accordingly.
📋 Step 1: Prepare the Host System
Section titled “📋 Step 1: Prepare the Host System”Before building, you must add the CachyOS repositories and build tools to your system.
1. Add CachyOS Repositories
Section titled “1. Add CachyOS Repositories”Follow the official CachyOS Wiki or use their helper script:
wget https://mirror.cachyos.org/cachyos-repo.tar.xztar xvf cachyos-repo.tar.xz && cd cachyos-reposudo ./cachyos-repo.sh2. Prerequisites
Section titled “2. Prerequisites”First, you need to install the official build tools provided by Manjaro. Open your terminal and run:
sudo pacman -S manjaro-tools-iso-git git🏗 Step 2: Setup Procedure
Section titled “🏗 Step 2: Setup Procedure”Follow these steps to prepare your build environment.
- Clone the Profiles Clone the official VeloxOS profiles repository to your local machine:
git clone https://github.com/VeloxOSLinux/iso-profiles.git ~/velox-profiles- Configure Manjaro Tools VeloxOS requires specific build settings. Copy our optimized configuration:
mkdir -p ~/.config/manjaro-toolscp ~/velox-profiles/.config/manjaro-tools.conf ~/.config/manjaro-tools/- Prepare the Build Tree To build the ISO, we merge the base profile with our VeloxOS overlays:
# Create a working directorymkdir -p ~/iso-build/gnomemkdir -p ~/iso-build/custom/gnome/
# Copy the base profilecp -r ~/velox-profiles/base/gnome/* ~/iso-build/gnome/
# Apply VeloxOS overlays & shared assetscp -r ~/velox-profiles/gnome/* ~/iso-build/custom/gnome/cp -r ~/velox-profiles/shared/* ~/iso-build/custom/gnome/🚀 Step 3: Starting the Build
Section titled “🚀 Step 3: Starting the Build”Once your environment is set up, you can start the automated build process. Use the buildiso command and point it to your prepared profile:
buildiso -p ~/iso-build/gnome -b stable:::info[How it works] The manjaro-tools.conf you copied earlier contains the pacman configuration that tells the build-bot to use the CachyOS mirrors in addition to the Manjaro ones. :::
📂 Locating the ISO
Section titled “📂 Locating the ISO”After the process finishes successfully, your brand-new VeloxOS ISO will be waiting for you in the output directory:
# Default output path/var/cache/manjaro-tools/iso/🛠 Troubleshooting
Section titled “🛠 Troubleshooting”- Signature is unknown trust: If the build fails due to GPG errors, ensure you have imported the CachyOS keys:
sudo pacman -S cachyos-keyring cachyos-mirrorlist. - Missing packages: Double-check that your host’s
/etc/pacman.confactually includes the[cachyos]sections.