[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#927892: grub-ieee1275-bin: Please add bootinfo.txt for sparc and sparc64



On 27/04/2019 18:12, John Paul Adrian Glaubitz wrote:

> On 4/27/19 6:47 PM, Thomas Schmitt wrote:
>> Mark Cave-Ayland wrote:
>>> In that case I think the change for Adrian's second patch should in fact be
>>> this:
>>>  add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-G cdboot.img -B ...
>>> --grub2-sparc-core /boot/grub/core.img"
>>>
>>> Does that look better?
>>
>> If /boot/grub/core.img is the path of the next stage boot file in the
>> ISO filesystem, then yes.
>> grub-mkrescue names it similarly: /boot/grub/sparc64-ieee1275/core.img .
> 
> This gives me an obscure error message:
> 
> xorriso -as mkisofs -r -checksum_algorithm_iso md5,sha1 -V 'Debian 10.0 sparc64 n' -o /home/glaubitz/debian-cd-test/debian-10.0-sparc64-NETINST-1.iso -J -joliet-long -cache-inodes -G /home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/sparc64-ieee1275/cdboot.img -B ... --grub2-sparc-core /home/glaubitz/tmp/sid/CD1/../CD1/boot/grub/core.img CD1
> xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia project.
> 
> Drive current: -outdev 'stdio:/home/glaubitz/debian-cd-test/debian-10.0-sparc64-NETINST-1.iso'
> Media current: stdio file, overwriteable
> Media status : is blank
> Media summary: 0 sessions, 0 data blocks, 0 data, 2390g free
> xorriso : WARNING : -volid text problematic as automatic mount point name
> xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
> xorriso : NOTE : -as mkisofs: Ignored option '-cache-inodes'
> Added to ISO image: directory '/'='/home/glaubitz/tmp/sid/CD1'
> xorriso : UPDATE : 1165 files added in 1 seconds
> xorriso : UPDATE : 1165 files added in 1 seconds
> xorriso : FAILURE : Cannot find in ISO image: -boot_image grub grub2_sparc_core='/home/glaubitz/tmp/sid/CD1/boot/grub/core.img'
> xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE
> Makefile:489: recipe for target 'images' failed
> make: *** [images] Error 32

I think it's trying to find /boot/grub/core.img in the ISO image built from your CD1
directory and failing - did you also update grub-mkimage in your first patch so that
the core image is output as core.img and not sparc64.elf?


ATB,

Mark.


Reply to: