Rockylinux 9.6 minimal with kickstart

Hi everyone

I’m working on creating a custom Rocky Linux 9.6 installation image for my project and could use some guidance.

Goal: Create a custom ISO that installs minimal Rocky Linux + XFCE + specific packages (SNMP, rsyslog, etc.) in a single offline installation.

Current Setup:

  • Starting with Rocky Linux 9.6 Minimal ISO
  • Downloaded required packages on a separate Rocky 9 VM
  • Copied packages to custom folders and integrated with ISO content
  • Already ran createrepo on all custom package directories
  • Using xorriso to rebuild the ISO
  • Created a kickstart file for automated installation

Issue: The kickstart works perfectly when I remove the custom repo lines, but fails when I include them:

repo --name="custom-packages" --baseurl=file:///minimal/Packages
repo --name="xfce-packages" --baseurl=file:///xfce

Error received: “Installation source setup failed: check the repository address and proxy parameters” (see attached screenshot showing the GUI installer recognizing my custom repositories but failing to configure them)

Questions:

  1. What’s the correct syntax/path for file-based repositories in kickstart?
  2. Are there any specific requirements for integrating additional packages into the ISO structure beyond running createrepo?
  3. Could the issue be with the file paths, repo metadata, or ISO structure?

I know I could install minimal and run a post-install script, but for this deployment, I need everything installed from the beginning without network access.

Any guidance on custom ISO creation with additional repositories would be greatly appreciated!

Thanks for your time! :blush:

The paths you are providing to the kickstart are actually incorrect. What I would suggest is to get to a shell when the installer is up and/or stopped at the kickstart error and look at where the ISO gets mounted. It will likely be in /run/media and that will be the path you will need to set your kickstart to.

1 Like

Hi nazulanika
Thanks for your reply , i checked and the iso is mounted in /mnt/install/repo
nothing in /run/media