Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Makeiso Kuroko

This is a tool for making CentOS-7.3.1611 ISO for your own purpose.

This only works for CentOS-7.3.1611.


In BIOS mode

makeiso-kuroko screenshot

In UEFI mode

makeiso-kuroko screenshot


  • An avaliable Linux platform. CentOS 7.5.1804 or newer is recommended because it includes rsync 3.1.1+
  • A CentOS-7-x86_64-Everything-1611.iso image
  • genisoimage (A RPM package is included in Everything 1611 iso image)
  • createrepo (A RPM package is included in Everything 1611 iso image)
  • rsync 3.1.1+ (not included in Everything 1611 iso image. A version 3.1.2 of rsync RPM package is included in this repository)


Recommend order:

  1. Modify the GLOBAL VARIABLE if needed.
  2. Copy addtional files to PAYLOAD_PATH with a as the installation script, which you want to install after the system installed. Please notice NO INTERACTIVE OPERATION IS ALLOWED.
  3. Run to generate iso file. (Superuser is required because going to mount iso)




# Auto generated variables
  • CENTOS7_EVERYTHING_ISO Must be a accessiable CentOS-7-x86_64-Everything-1611.iso files.
  • PAYLOAD_PATH is the addtional files you want to install after the system installation. After the system installation and auto reboot, bash will execute automatically once.
  • VOLUMENAME_LABEL is for Volume ID and it only supports as long as 16 chars.


Usage: # ./ -d [DEST_DIR=./] -v [RELEASE_VERSION=v1.0.0] -s [PAYLOAD_PATH=/root/payload_sample/] -7 [CENTOS7_EVERYTHING_ISO=/root/iso/CentOS-7-x86_64-Everything-1611.iso] -z [TIMEZONE=UTC]

Example 1:

# ./ -7 /root/cifs/CentOS/CentOS-7-x86_64-Everything-1611.iso

Example 2:

# ./ -d /root/ -v test20200331 -s ./payload_sample/ -7 /root/cifs/CentOS/CentOS-7-x86_64-Everything-1611/CentOS-7-x86_64-Everything-1611.iso -z 'Asia/Shanghai'

And you will get a ISO file. The default root password is 'makeiso-kuroko'.

To set the root password, please refer to rootpw - Set Root Password

Notice that all the network interfaces DHCP are enabled in kickstart-post-script. Your network configuration in the Install Guide won't work.

There is no config about installation destination in kickstart-post. You still need to select the installation destination

Project Details


├── 83b61f9495b5f728989499479e928e09851199a8846ea37ce008a3eb79ad84a0-c7-minimal-x86_64-comps.xml
├── boot.template
│   └── develop
│       ├── EFI
│       │   └── BOOT
│       │       ├── grub.cfg
│       │       └── x86_64-efi
│       │           └── gfxterm_background.mod
│       └── isolinux
│           ├── isolinux.cfg
│           ├── payload-develop.cfg
│           └── splash.png
├── d918936f5019be3fb66e9981a28cb2a41477a2963d741d454f79377a22214f43-c7-x86_64-comps.xml
├── filelist
│   ├── centos_dvd_frame.list
│   └── minimal.list
├── payload_sample
│   └──
└── rsync-3.1.2-5.fc26.x86_64.rpm
  • payload-develop.cfg, Kickstart files, including how to install automatically, the system language, network, root password, etc, A script which will executing after system installation and reboot is also included.
  • centos_dvd_frame.list , CentOS-7-1611 DVD frameware files.
  • minimal.list , RPM Package needed from Everything-DVD
  • , Diff 'installed RPM Package' between the current environment and Everything-DVD. This can be used to generate your_rpm_payload.list. Notice that there is difference between MBR as EFI.


├── CentOS_BuildTag
├── EFI
│   ├── BOOT
│   │   ├── BOOTX64.EFI
│   │   ├── fonts
│   │   │   ├── TRANS.TBL
│   │   │   └── unicode.pf2
│   │   ├── grub.cfg
│   │   ├── grubx64.efi
│   │   ├── MokManager.efi
│   │   └── TRANS.TBL
│   └── TRANS.TBL
├── EULA
├── GPL
├── images
│   ├── efiboot.img
│   ├── pxeboot
│   │   ├── initrd.img
│   │   ├── TRANS.TBL
│   │   └── vmlinuz
│   └── TRANS.TBL
├── isolinux
│   ├──
│   ├── boot.msg
│   ├── grub.conf
│   ├── initrd.img
│   ├── isolinux.bin
│   ├── isolinux.cfg
│   ├── memtest
│   ├── payload-develop.cfg
│   ├── splash.png
│   ├── TRANS.TBL
│   ├── vesamenu.c32
│   └── vmlinuz
├── LiveOS
│   ├── squashfs.img
│   └── TRANS.TBL
├── Packages
│   ├── *.rpm
│   ├──
│   ├── *
├── repodata
│   ├── *
│   ├── repomd.xml
│   └── TRANS.TBL
├── RPM-GPG-KEY-CentOS-7
├── RPM-GPG-KEY-CentOS-Testing-7

Destination platform root

├── anaconda-ks.cfg
├── initial-setup-ks.cfg
├── initstart_flag.log
├── initstart.log
├── kickstart-post.log
├── original-ks.cfg
│   ├──
│   └── *
├── payload_install.log
├── payload_log_sample.log
└── rpm_qa.list
  • anaconda-ks.cfg, The kickstart file for this installation at this time.
  • initial-setup-ks.cfg, The kickstart file for this installation at this time if you installed Desktop.
  • kickstart-post.log The log of the script in POST of kickstart.
  •, the script which will be executed after the system installation and reboot, including 'disable YUM source', 'install PAYLOAD', and remove itself from /etc/rc.d/rc.local
  • initstart_flag.log, the result of executing
  • initstart.log, the log of
  • payload_install.log, the log of PAYLOAD/
  • payload_log_sample.log,the output of PAYLOAD/ if you used the default payload_sample
  • rpm_qa_develop.list, the result of 'rpm -qa' when the whole installation is finished.

Build your own ISO

Anything doesn't relate to the CentOS-7-x86_64-Everything ISO is supposed to be put in PAYLOAD and be installed by

For something relates to the ISO, you can install a new CentOS7 by yourself, and run to generate new rpm filelist, and upgrade kickstart.cfg and comps.xml by yourself. (Or just edit it in the Payload It's fine)

This project includes a comps.xml d918936f5019be3fb66e9981a28cb2a41477a2963d741d454f79377a22214f43-c7-x86_64-comps.xml, as same as CentOS-7-x86_64-Everything-1611. You should build your own comps.xml and kickstart.cfg for your project.

This project is just for helping developers who don't familiar how to buid a CentOS ISO. You should write Kickstart-file (payload-develop.cfg) for your own project purpose.

Other things

Idea about naming this 'make linux iso project' Kuroko

This one only works for centos7-1611. The year of 1611 is the year Galileo made naked-eye and telescopic studies of 'sunspots'. Sunspots is called '太阳黑子' in Chinese. '黑子' is also a part of name 'Shirai Kuroko'.

Idea about naming the directory Payload

I folk project to another team of my company ,and named it 'Payload'. This word means a container, and in game Overwatch, it means vehicle to be escorted. The main idea is this directory is used for containing 3rd-party code.

Butt weight, The word 'Payload' in Team Fortress 2 also means BOMB! Because after I read the code and the project of the other team, I thought those would be a BOMB, it would explode at anytime. "Bomb is friend! Come, visit friend!"

Todo list

  • Print logs not only in log file, but also in tty
  • Replace rc.local using Systemd



Any contributions are welcome. Pull request to branch dev please.


Makeiso-Kuroko is licensed under Anti-996-License, which is adapted from the MIT license.

The default splash image is from "Toaru Kagaku no Railgun - Shirai Kuroko" by Krukmeister and it's licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.

If you want to use this project for commercial purposes, you should remove or replace the default splash image.


This is a tool for making CentOS-7.3.1611 ISO of yourself.







No packages published