Hi,

Mark Cave-Ayland wrote:
> Hi Adrian, [...]
> In the last thread you listed the options as:

The actually used options can be seen in a debian-cd specific data file
of the ISO:

  mount debian-10.0-powerpc-grub-NETINST-1.iso /mnt/iso

  cat /mnt/iso/.disk/mkisofs

yields in a single line which i break up here:

  xorriso -as mkisofs \
    -r \
    -checksum_algorithm_iso md5,sha1 \
    -V 'Debian 10.0 ppc n' \
    -o /home/glaubitz/debian-cd-test/debian-10.0-powerpc-NETINST-1.iso \
    -J -joliet-long \
    -cache-inodes \
    -hfsplus -apm-block-size 2048 \
    -hfsplus-file-creator-type chrp tbxi /System/Library/CoreServices/BootX \
    -hfs-bless-by p /System/Library/CoreServices \
    -sysid PPC \
    -graft-points \
    
/System/Library/CoreServices/BootX=/home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/powerpc-ieee1275/grub.chrp
 \
    
/System/Library/CoreServices/grub.elf=/home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/powerpc.elf
 \
     -chrp-boot-part \
     CD1


> If I look at /System/Library/CoreServices/BootX then it's actually a
> bootinfo XML file.

It's name on hard disk was "grub.chrp".
(Its purpose and format is beyond my knowledge.)


-------------------------------------------------------------------------
Noteworthy:

If a file CD1/System/Library/CoreServices/BootX had existed on hard disk,
the pathspec "CD1" would have overwritten the previously inserted IsoNode
object which held the instruction to copy from "grub.chrp".
Afterwards, the content of file "BootX" would have been copied into
the ISO.

If not prohibited for other reasons, it would be clearer and safer to copy
the desired files to their places underneath CD1 already on hard disk.

  cp /home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/powerpc-ieee1275/grub.chrp \
     CD1/System/Library/CoreServices/BootX

  cp /home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/powerpc.elf \
     CD1/System/Library/CoreServices/grub.elf

  xorriso -as mkisofs ...no.-graft-points.and.no.long.pathspecs... CD1


Have a nice day :)

Thomas

Reply via email to