Failed to create the bootable ISO by xorriso

#cd /home/jay/modified_files
#xorriso -as mkisofs \
-o Leap-16.0-online-modified.iso \
-b /usr/share/syslinux/isolinux.bin \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-isohybrid-mbr /usr/share/syslinux/isohdpfx.bin \
-eltorito-alt-boot \
-e EFI/BOOT/bootx64.efi \
-no-emul-boot \
 /home/jay/modified_files

Where /home/jay/modified_files is the folder used to store files extracted from Leap-16.0-online-installer.iso.
The above command is about to create a bootable ISO similar to Leap-16.0-online-installer, sadly the command returns error message:

xorriso 1.5.6 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:Leap-16.0-online-modified.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 27.1g free
Added to ISO image: directory '/'='/home/jay/modified_files'
xorriso : UPDATE :     350 files added in 1 seconds
xorriso : FAILURE : Cannot find in ISO image: -boot_image ... bin_path='/usr/share/syslinux/isolinux.bin'
xorriso : UPDATE :     350 files added in 1 seconds
xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'

It shows /usr/share/syslinux/isolinux.bin cannot be found, but it is really there.

#ls -l /usr/share/syslinux/isolinux.bin
-rw-r--r-- 1 root root 24576 Nov  7  2024 /usr/share/syslinux/isolinux.bin

Why I failed to create the ISO?

If you read the mkisofs man page, it quite clearly says

The pathname must be relative to the source path and inside the source tree specified to mkisofs.

What is source path and what I have to install to get it work?

Whatever the CD content is taken from.

Yes, then copy /usr/share/syslinux/isolinux.bin to /home/jay/modified_files, change -b to -b isolinux.bin. Thank you very much for you reply.

I have made the ISO, but when it is booted, says:

ERROR: No configuration file found
NO DEFAULT or UI configuration directive found!

You obviously need to provide syslinux configuration if you intend to use syslinux.

Did you copy to a partition on the device or direct to the device??

How to create a syslinux configuration?

Start with reading syslinux documentation. Do you expect me to replicate it here?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.