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
What is the \x207 ?? and the \x20 ?? on this line ? inst.stage2=hd:LABEL=CentOS\x207\x20x86_64
Jerry
On Wed, May 6, 2020 at 9:41 AM Jerry Geis jerry.geis@gmail.com wrote:
Sorry I get it \x20 is a space and then "7" then \x20 is another space.
I like underscores
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Looks like the issue was with the set -l 'CentOS 7 x86-64' in the grub.cfg file. It needed to match my changed name. Looking good now.
Jerry