Re: Bug#927892: grub-ieee1275-bin: Please add bootinfo.txt for sparc and sparc64
On 4/27/19 5:40 PM, Thomas Schmitt wrote:
>> Once this is done and the ISO image is generated, [...]
>> - Next check the offset and size of /boot/grub/core.img embedded in
>> sector 1 using dd and hexdump. As per Thomas' message you should find
>> the offset in bytes of the start of /boot/grub/core.img at offset 552
>> from the start of the .iso (64-bit big endian) and its size at offset
>> 560 from the start of the .iso (32-bit big endian)
>
> This would be put there by xorriso -as mkisofs option
>
> --grub2-sparc-core ...path.of.file.in.ISO.filesystem...
>
> With genisoimage it would be necessary to insert the info by
> post-processing. /usr/bin/isoinfo prints block addresses as first number
> in its "[ NN NN]" column. Byte offset is block address * 2048.
Okay, I can switch to xorriso, too. But I would assume I would have
to tune more options then.
Currently, we have:
# Common mkisofs options when creating CDs
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-cache-inodes"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-l"
(...)
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-G $CDDIR/../CD1/boot/grub/sparc64-ieee1275/cdboot.img -B ..."
Would it be enough to just switch to xorriso here?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: