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?
mkisofs -U -A "Custom1404" -V "Custom1404" -volset "Custom1404" -J -joliet-long -r -v -T -o ../Custom1404.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot
– Panther Jul 18 '17 at 19:12.iso
file to a USB flash drive, and (2) are you trying to boot in BIOS/CSM/legacy mode or in EFI/UEFI mode? Depending on the answers to those questions, there may be others, like what (if anything) is in theEFI/BOOT
directory on the resulting USB drive and what filesystem it uses. If you don't care about the.iso
disc, then you're probably better off creating a bootable USB disk directly. – Rod Smith Jul 19 '17 at 01:21