[Debburn-devel] genisoimage

Thomas Schmitt scdbackup at gmx.net
Sat Feb 16 15:12:05 UTC 2013


Hi,

(genisoimage is somewhat out of service. Even the mail server
 needed three weeks to forward your mail.)

What options of mkisofs are you using ?
Would xorrisofs (xorriso mkisofs emulation) fulfill your needs ?


> I noticed an option such as --et-idstring is missing. Basically an
> option to add the idstring to the boot catalog (check EDD 3 or EDD 4
> for boot catalog layout if needed).

I assume you refer to
  http://www.t13.org/documents/UploadedDocuments/docs2004/d1572r3-EDD3.pdf
table 7: Validation Entry bytes 0x04 to 0x1b,
table 9: Section Header bytes 0x04 to 0x1f.
(Equivalent to El Torito Version 1.0, figures 2 and 4.)


I could teach the mkisofs emulation of xorriso an option that
triggers command
  -boot_image any id_string=...

With released versions of xorriso, one would have to leave emulation mode,
perform the generic xorriso command and re-enter mkisofs emulation.
Like
  xorriso -as mkisofs -o result.iso . -- \
          -boot_image any id_string="FOR BIOS" \
          -as mkisofs -b bios.img \
              -no-emul-boot -boot-load-size 4 -boot-info-table -- \
          -boot_image any id_string="FOR EFI" \
          -as mkisofs -eltorito-alt-boot -e efi.img -no-emul-boot --

This unusual sequence of commands is necessary because -as mkisofs
performs an automatic -eltorito-alt-boot (= -boot_image any next)
when it ends and a boot image path was set.
Therefore, the boot image files have to be already added to the image
before the emulation mode ends. Further one has to perform the
-boot_image commands before the -as commands which set the boot
image file names. (-eltorito-alt-boot is not really necessary here.
It only serves the human eye.)


Is there also need for setting the Selection Criteria of Section
Entry ?  (EDD 3 table 10 / El Torito figure 5, bytes 0x0c to 0x1f)
If so:
          -boot_image any sel_crit=... \
with up to 40 hex digits.


Have a nice day :)

Thomas




More information about the Debburn-devel mailing list