How is the CentOS ISO for ppc64le created

General support questions
Post Reply
dummyhuan
Posts: 1
Joined: 2021/06/16 01:29:59

How is the CentOS ISO for ppc64le created

Post by dummyhuan » 2021/06/16 03:14:16

Hi,

To automate the CentOS installation, I usually create my own customized ISO by extracting the official ISO, adding my own kickstart file, and updating the boot entry in isolinux.cfg and grub.cfg, then invoking xorriso to generate the final ISO.

For x86_64, the command I used to create iso is:

Code: Select all

xorriso -as mkisofs -o centos-ks.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -V 'CentOS 7 x86_64' \
        -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v centos-ks
This works well, and the generated ISO boot as expected in both real server and KVM guest.


For ppc64le, however, the ISO generated by similiar command does not boot:

Code: Select all

xorriso -as mkisofs -o centos-ks.iso -chrp-boot-part -V 'CentOS 7 ppc64le' \
        -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v centos-ks
The KVM guest report 'Failed to load CHRP boot loader'.

Can anybody tell me what i'm missing in the command, or point me to the code used by CentOS to produce official ppc64le ISO.

Thanks very much.

Post Reply