What happens about EFI booting if you leave out the BIOS
boot options in your xorriso run ? I.e.:
..\xorriso -as mkisofs -U -A centos65 -V centos65 -volset centos65
-J -joliet-long -r -v -T -o ../centos65.iso -c isolinux/boot.cat -e
boot/grub/efi.img -no-emul-boot .
(No -boot-info-table causes no read attempt for patching. So
the code part which throws the error will not be executed.
The lfs_read() calls for copying file content into the
emerging ISO image request smaller chunk sizes than the
call for patching the BIOS boot image.)
Thanks for suggestion, the iso generated with only efi boot option
still can't boot efi
machine, and seems it has some relationship with the libisofs/util.c
since I did the
following change:
//tzoffset = ( - timezone / 60 / 15 ) + 4 * tm.tm_isdst;
fprintf(stderr, "here is the second compile error\n");
And the debug info is displayed lots of time when generate iso, please
help
to fix the compile errors if possible, thanks a lot.