Hi All, I am trying to make a customer ISO. When I run this command: mkisofs -o $DESTINATION_FILE -b isolinux/isolinux.bin -c boot.cat \ -no-emul-boot -boot-info-table \ -V "$NAME" -boot-load-size 4 -boot-info-table -R -J -v -T \ -eltorito-alt-boot -e images/efiboot.img \ $DESTINATION_DIR it tells me: Size of boot image is 4 sectors -> No emulation Size of boot image is 17408 sectors -> genisoimage: Error - boot image 'images/efiboot.img' has not an allowable size. This is the exact same file that is on the Everything ISO image. What am I missing ? I also want to make the ISO boot with UEFI. I think I have the right parameters but getting this error. Thoughts? Thanks, Jerry
On Tue, 5 May 2020 22:40, Jerry Geis wrote:> > Hi All, > > I am trying to make a customer ISO. When I run this command: > mkisofs -o $DESTINATION_FILE -b isolinux/isolinux.bin -c boot.cat \ > -no-emul-boot -boot-info-table \ > -V "$NAME" -boot-load-size 4 -boot-info-table -R -J -v -T \ > -eltorito-alt-boot -e images/efiboot.img \ > $DESTINATION_DIR > > it tells me: > Size of boot image is 4 sectors -> No emulation > Size of boot image is 17408 sectors -> genisoimage: Error - boot image > 'images/efiboot.img' has not an allowable size. > > This is the exact same file that is on the Everything ISO image. > > What am I missing ? I also want to make the ISO boot with UEFI. I think I > have the right parameters but getting this error. Thoughts?Only one thing jumps out to me (no expert at all): Your parameter at call: -boot-load-size 4 Collides with the boot image size of 17408 sectors of the images/efiboot.img file I would recommend to try with: -boot-load-size 17408 (or even greater) Have a good day, - Yamaban
Thanks for hint. I have changed to this: genisoimage \ -v \ -J -R \ -V "$NAME" \ -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 \ -boot-info-table -eltorito-alt-boot -b images/efiboot.img -no-emul-boot -boot-load-size 18755 \ -o $DESTINATION_FILE . it now creates the ISO and is EFI bootable. However - I have a different issue arise. In normal install or EFI install (both) it hangs at "Starting dracut initqueue hook..." Only thing I am changing is the add the boot options for my kickstart file. So then I tried select the "standard" "Install CentOS 7" and it does the same thing, hangs at "Starting dracut". Any thoughts on that ? I am testing with virt-manager. Thanks, Jerry