Hi, > I also tried to work out what sets up the syslinux vs grub installer, > haven't got there yet. When I find that I shall work out a patch and submit.
Online research https://github.com/arete/t2/search?utf8=%E2%9C%93&q=isolinux yields https://github.com/arete/t2/blob/8f2b2de2727fcc4b7b4ea948e323c5aeed4a3ecc/architecture/x86/boot/boot.in In case [ "$SDECFG_X86_CD_LOADER" = "isolinux" ] function arch_boot_cd_pre() processes isolinux.bin and isolinux.cfg but does not check for the presence of ldlinux.c32. I'd try something like test -e $build_root/usr/share/syslinux/ldlinux.c32 && \ cp -af $build_root/usr/share/syslinux/ldlinux.c32 $isofsdir/boot/isolinux/ I did not find the spot yet, where isofs.txt learns the mapping from $isofsdir/boot/isolinux/ on disk to /isolinux in the ISO image. ---------------------------------------------------------------- In the "else # GRUB" case, file "menu.lst" is processed. This indicates that the code is prepared for "legacy" GRUB 0.xy and not for the contemporary GRUB2 [12].xy. Google found me these overviews of legacy GRUB http://www.dedoimedo.com/computers/grub.html and current GRUB2 http://www.dedoimedo.com/computers/grub-2.html There are not many examples around for mkisofs setups with GRUB2. The author advises to use script grub-mkrescue with the operating system files as payload. (I am proud to provide xorriso which serves as ISO 9660 production program underneath grub-mkrescue.) http://www.gnu.org/software/grub/manual/grub.html#Making-a-GRUB-bootable-CD_002dROM http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dmkrescue Use of grub-mkrescue inside Create-ISO would of course need an adapted interpreter for isofs.txt. grub-mkrescue automagically figures out the necessary options for xorriso's mkisofs emulation. It obviously knows what boot features have been configured when GRUB2 was build/installed/set up. (Don't ask me what its option "--modules=modules" is good for.) ---------------------------------------------------------------- Have a nice day :) Thomas ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
