Hi,

> On 6. Nov 2019, at 11:41, Thomas Schmitt <[email protected]> wrote:
...
> My advise to t2 is to make the ISO ready for both PC-BIOS and EFI by
> augmenting the existing xorriso or xorrisofs run for BIOS by new
> commands or options as proposed to Debian.
> 
> xorriso -as mkisofs:
>  -partition_offset 16
>  -append_partition 2 0xef ...path.to.EFI.FAT.image.on.hard.disk...
>  -e --interval:appended_partition_2:all::
>  -iso_mbr_part_type 0x83


Thanks again for all the notes, without them I certainly would have spend a 
couple of more hours compiling this tougher, ..! ;-)

It looks like I ended up needing -eltorito-alt-boot -no-emul-boot  in between 
the x86-mbr and the above hybrid stuff, does that make sense?

e.g. something like:

-b boot/grub/i386-pc/eltorito.img -no-emul-boot
-boot-load-size 4 -boot-info-table --grub2-boot-info --protective-msdos-label
--grub2-mbr $build_root/usr/lib*/grub/i386-pc/boot_hybrid.img
-eltorito-alt-boot -no-emul-boot -partition_offset 16
-append_partition 2 0xef $isofsdir/efi.img
-e --interval:appended_partition_2:all::
-iso_mbr_part_type 0x83

Or is should that be reversed, or am I missing something else?

With this it builds an ISO and it i386-pc boots, not yet sure about EFI, at 
least Qemu/OVMF does not like to boot from that ISO, yet :-/

Thanks again, and have a great Sunday,
        René

-- 
 ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin, https://exactcode.com
 https://exactscan.com | https://ocrkit.com | https://t2sde.org | 
https://rene.rebe.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to