Current-Users archive

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

Re: amd64-current live image build failure



On Sat, 20 Apr 2024 at 17:49, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Hi,
>
> I am presently getting:
> ....
>
> mv work.rootfs imgroot.fs
> create EFI system partition...
> /dumps/sysbuild/amd64/tools/bin/x86_64--netbsd-install -c -m 0644
> work/usr/mdec/bootx64.efi work.efidir/EFI/boot/`basename
> work/usr/mdec/bootx64.efi`
> /dumps/sysbuild/amd64/tools/bin/x86_64--netbsd-install -c -m 0644
> work/usr/mdec/bootia32.efi work.efidir/EFI/boot/`basename
> work/usr/mdec/bootia32.efi`
> rm -f work.efi
> /dumps/sysbuild/amd64/tools/bin/nbmakefs -M 128m -m 128m
>           -B 1234
>                                    -t
> msdos -o F=32,c=1                                        work.efi work.efidir
> Creating `work.efi'
> work.efi: 258078 sectors in 258078 FAT32 clusters (512 bytes/cluster)
> MBR type: 11
> bps=512 spc=1 res=32 nft=2 mid=0xf0 spt=63 hds=255 hid=0 bsec=262144
> bspf=2017 rdcl=2 infs=1 bkbs=2
> Populating `work.efi'
> Image `work.efi' complete
> cat  work.mbr.truncated work.efi imgroot.fs work.gpt > work.img
> /dumps/sysbuild/amd64/tools/bin/nbgpt  work.img biosboot -i 2
>   -c /dumps/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/liveimage/emuimage/work/usr/mdec/gptmbr.bin
> nbgpt: work.img: No primary GPT header; run create or recover
> *** Failed target: NetBSD-10.99.10-amd64-live.img
> *** Failed commands:
>         ${CAT} ${TARGET_BLOCKS} > ${WORKIMG}
>         => cat  work.mbr.truncated work.efi imgroot.fs work.gpt > work.img
>         ${TOOL_GPT} ${GPT_TIMESTAMP} ${WORKIMG} biosboot -i 2
>   -c ${.OBJDIR}/${WORKDIR}/usr/mdec/gptmbr.bin
>         => /dumps/sysbuild/amd64/tools/bin/nbgpt  work.img biosboot -i
> 2                 -c
> /dumps/sysbuild/amd64/obj/home/sysbuild/src/distrib/amd64/liveimage/emuimage/work/usr/md
> ec/gptmbr.bin
>         ${TOOL_GPT} ${GPT_TIMESTAMP} ${WORKIMG} set -a bootme -i 2
>         => /dumps/sysbuild/amd64/tools/bin/nbgpt  work.img set -a bootme -i 2
>         mv ${WORKIMG} ${.TARGET}
>         => mv work.img NetBSD-10.99.10-amd64-live.img
> *** [NetBSD-10.99.10-amd64-live.img] Error code 1
> ....
>
>
> No idea why...
>
>

Forgot to say that build completes otherwise OK, the ISO is built.

> Chavdar
>
>
> --
> ----



-- 
----


Home | Main Index | Thread Index | Old Index