I have created a custom iso and I followed the instructions to make the iso from a wiki article from ubuntu with the following command:
mkisofs -D -r -V "CUSTOM_UBUNTU" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/ubuntu16-desktop-unattended-install.iso /opt/isodir
The iso does work, I tested on Oracle VM and I was able to boot from it, but when I created an image on a USB, I cannot boot from the usb at all. Did I miss something? how can I create the iso to be able to boot from the USB? is it missing some UEFI/EFI directives?