SUSE Support

Here When You Need Us

mkisofs example for PowerPC

This document (000019692) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 ppc64le
SUSE Linux Enterprise Server for SAP Applications 15 ppc64le
SUSE Linux Enterprise Server 12 ppc64le
SUSE Linux Enterprise Server for SAP Applications 12 ppc64le


The following is an example of steps to create a custom SLES ISO to boot on PowerPC. 
The reason, for example, if you would like to add custom kernel boot flags or an autoyast.xml file to setup autoinstall from the ISO.


Make a directory called "ISOFILES" and copy the contents of the ISO to that directory:
mkdir /tmp/isomnt/
mkdir /tmp/powerpc/ISOFILES/
mount -o loop SLE-12-SP5-Server-DVD-ppc64le-GM-DVD1.iso /tmp/isomnt/
cp -a /tmp/isomnt/* /tmp/powerpc/ISOFILES/

Then remove the /boot and /ppc directories from that location.
rm -rf /tmp/powerpc/ISOFILES/boot
rm -rf /tmp/powerpc/ISOFILES/ppc

Then from the "PowerPC" ISO, copy the directories /boot and /ppc to the top level directory:
cp -a /tmp/isomnt/boot /tmp/powerpc/
cp -a /tmp/isomnt/ppc /tmp/powerpc/

*make any custom edits or file changes you need*

Then cd to /tmp/powerpc/
The directory structure in your "/tmp/powerpc/" directory should look like this:
ls -la /tmp/powerpc/

In the directory /tmp/powerpc/ run this mkisofs command:
mkisofs -v -o SLES12PPC.iso -U -chrp-boot -R -J -V SLES12PPC.001 -graft-points boot=boot ppc=ppc ISOFILES/
This should add all the SUSE ISO files to your custom ISO (SLES12PPC.iso).

In SLES15, the filenames were too long and we receive an error:
mkisofs: Error: ISOFILES/<snip> have the same Joliet name
mkisofs: Joliet file names differ after 75 chars
mkisofs: Try to use the option -joliet-long
mkisofs: Joliet tree sort failed.

SLES15 needs the "-joliet-long" flag:
mkisofs -v -o SLES15PPC.iso -U -chrp-boot -R -J -joliet-long -V SLES15PPC.001 -graft-points boot=boot ppc=ppc ISOFILES/
This should add all the SUSE ISO files to your custom ISO (SLES15PPC.iso).

Explanation of the mkisofs command flags are:
-o ISOFILE aka --output ISOFILE
-v verbose
-U Allow Untranslated filenames
-R Generate Rock Ridge directory information
-J Generate Joliet directory information
-volid aka -V Volume ID
-chrp-boot Add CHRP boot header
-graft-points Allow to use graft points for filenames


Document steps to create a working custom ISO for PowerPC users.


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000019692
  • Creation Date: 27-Aug-2020
  • Modified Date:28-Aug-2020
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.