On Tue, Jan 27, 2015 at 05:59:26PM +0100, Thomas Schmitt wrote: >Hi, > >i just realize that the xorriso run in > > http://anonscm.debian.org/cgit/d-i/debian-installer.git/tree/build/config/x86.cfg >does not produce an isohybrid image. >Therefore one currently cannot simply omit the "isohybrid" run >in geniso_hybrid_plus_firmware_partition. > >Option -isohybrid-mbr is a precondition for -isohybrid-gpt-basdat >which marks the EFI boot image in MBR and GPT. >It needs the disk path to the file isohdpfx.bin in the local >SYSLINUX installation (from where file isolinux.bin stems). > >debian-cd for debian-7*-amd64.iso does: > > -isohybrid-mbr syslinux/usr/lib/syslinux/isohdpfx.bin > >(Don't ask me where its pwd is at that moment.)
It's in a directory just above the root of the temporary CD tree - see http://anonscm.debian.org/cgit/debian-cd/debian-cd.git/tree/tools/boot/jessie/boot-x86 for context. Just before that point, we've extracted a copy of the syslinux package(s) needed to get all the files we need from them. ... >Add an argument to util/geniso_hybrid_plus_firmware_partition > >+ efi_fat="$2" > > and in the case [ "$(GRUB_EFI)" = y ] hand it down from > build/config/x86.cfg : > > if [ "$(GRUB_EFI)" = y ]; then \ > xorriso -as mkisofs ... ; \ >+ geniso_hybrid_plus_firmware_partition $(TEMP_MINIISO) \ > $(TEMP_CD_TREE)/boot/grub/efi.img ; \ > else \ > xorriso -as mkisofs ... ; \ >+ geniso_hybrid_plus_firmware_partition $(TEMP_MINIISO) "" ; \ > fi > >- geniso_hybrid_plus_firmware_partition $(TEMP_MINIISO) > >(Why those backslashes and semicolons in config/x86.cfg, btw ?) It's the syntax for mtools to work on the FAT images, that's all. -- Steve McIntyre, Cambridge, UK. st...@einval.com Armed with "Valor": "Centurion" represents quality of Discipline, Honor, Integrity and Loyalty. Now you don't have to be a Caesar to concord the digital world while feeling safe and proud. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org