Re: hd-media efi grub
Carl Karsten <[email protected]> Sat, 25 Jul 2026 16:14:08 -0300
| Newsgroups | gmane.linux.debian.devel.boot |
|---|---|
| Message-ID | <CADmzSSiGbdF8zimOmH3jVP2mHv5sZR3MLeHNs+O0e1ayQDR9=g@mail.gmail.com> |
--000000000000c2884c0657744c16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Following up to the in person conversation at DebConf 26 https://salsa.debian.org/installer-team/debian-installer/-/merge_requests/7 as stated verbally, I have no idea if ,my attempt is close to propper I am willing to riggorsly test whatever is proposed. On Tue, Mar 10, 2026 at 9:47=E2=80=AFPM Carl Karsten <[email protected]= > wrote: > > > On Tue, Mar 10, 2026 at 6:45=E2=80=AFPM Steve McIntyre <[email protected]>= wrote: > >> On Tue, Mar 10, 2026 at 01:23:28PM -0500, Carl Karsten wrote: >> >my guess is I needed: >> >\EFI\boot\bootx64.efi >> >qemu... no change >> > >> >just to be sure, I put it everwhere: >> > >> >$ find /tmp/mk_hd_grub/img -iname *.efi >> >/tmp/mk_hd_grub/img/bootnetx64.efi >> >/tmp/mk_hd_grub/img/boot/grub/grubx64.efi >> >/tmp/mk_hd_grub/img/boot/grub/bootx64.efi >> >/tmp/mk_hd_grub/img/boot/grubx64.efi >> >/tmp/mk_hd_grub/img/boot/bootx64.efi >> >/tmp/mk_hd_grub/img/EFI/BOOT/grubx64.efi >> >/tmp/mk_hd_grub/img/EFI/BOOT/bootx64.efi >> >/tmp/mk_hd_grub/img/EFI/grubx64.efi >> >/tmp/mk_hd_grub/img/EFI/bootx64.efi >> >/tmp/mk_hd_grub/img/grubx64.efi >> >/tmp/mk_hd_grub/img/bootx64.efi >> >> What partition layout and filesystem type do you have there? UEFI >> wants the EFI system partition to be FAT, and ideally tagged as type >> EF on an MBR scheme or EF00 on GPT. >> >> > I would expect efi-image and gen-hd-image is doing the right thing: > > > https://salsa.debian.org/carlfk-guest/debian-installer/-/blob/hd-grub/bui= ld/util/mk_hd_grub.sh#L39-47 > > sfdisk --dump ${img_name} > label: dos > > label-id: 0x69b05fcf > device: /tmp/mk_hd_grub/hd-grub.img > > unit: sectors > > sector-size: 512 > /tmp/mk_hd_grub/hd-grub.img1 : start=3D 2048, size=3D 15795= 2, > type=3Dc, bootable > > > >> >I need modules to boot the installer >> >grubnetx64-installer.efi.signed has installer in the name, but I'm >> guessing >> >that isn't my problem, yet. >> >> Yeah, see when you get a bit further. :-) >> >> -- >> Steve McIntyre, Cambridge, UK. >> [email protected] >> You raise the blade, you make the change... You re-arrange me 'til I'm >> sane... >> >> > > -- > Carl K > --=20 Carl K --000000000000c2884c0657744c16 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Following up to the in person conversation at DebConf= 26</div><div><br></div><div><a href=3D"https://salsa.debian.org/installer-= team/debian-installer/-/merge_requests/7">https://salsa.debian.org/installe= r-team/debian-installer/-/merge_requests/7</a></div><div><br></div><div>as = stated verbally, I have no idea if ,my attempt=C2=A0is close to propper</di= v><div>I am willing to riggorsly test whatever is proposed.</div><div><br><= /div><div><br></div></div><br><div class=3D"gmail_quote gmail_quote_contain= er"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 10, 2026 at 9:47=E2= =80=AFPM Carl Karsten <<a href=3D"mailto:[email protected]">carl@nex= tdayvideo.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"= gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, Mar 10, 2026 at = 6:45=E2=80=AFPM Steve McIntyre <<a href=3D"mailto:[email protected]" targ= et=3D"_blank">[email protected]</a>> wrote:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">On Tue, Mar 10, 2026 at 01:23:28PM -0500, Car= l Karsten wrote:<br> >my guess is I needed:=C2=A0<br> >\EFI\boot\bootx64.efi<br> >qemu... no change=C2=A0<br> ><br> >just=C2=A0to be sure, I put it everwhere:=C2=A0<br> ><br> >$ find /tmp/mk_hd_grub/img -iname *.efi<br> >/tmp/mk_hd_grub/img/bootnetx64.efi<br> >/tmp/mk_hd_grub/img/boot/grub/grubx64.efi<br> >/tmp/mk_hd_grub/img/boot/grub/bootx64.efi<br> >/tmp/mk_hd_grub/img/boot/grubx64.efi<br> >/tmp/mk_hd_grub/img/boot/bootx64.efi<br> >/tmp/mk_hd_grub/img/EFI/BOOT/grubx64.efi<br> >/tmp/mk_hd_grub/img/EFI/BOOT/bootx64.efi<br> >/tmp/mk_hd_grub/img/EFI/grubx64.efi<br> >/tmp/mk_hd_grub/img/EFI/bootx64.efi<br> >/tmp/mk_hd_grub/img/grubx64.efi<br> >/tmp/mk_hd_grub/img/bootx64.efi<br> <br> What partition layout and filesystem type do you have there? UEFI<br> wants the EFI system partition to be FAT, and ideally tagged as type<br> EF on an MBR scheme or EF00 on GPT.<br> <br></blockquote><div><br></div><div>I would expect=C2=A0efi-image and=C2= =A0 =C2=A0gen-hd-image is doing the right thing:</div><div><br></div><div><= a href=3D"https://salsa.debian.org/carlfk-guest/debian-installer/-/blob/hd-= grub/build/util/mk_hd_grub.sh#L39-47" target=3D"_blank">https://salsa.debia= n.org/carlfk-guest/debian-installer/-/blob/hd-grub/build/util/mk_hd_grub.sh= #L39-47</a></div><div><br></div>sfdisk --dump ${img_name} <br>label: dos = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=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A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0<br>=C2=A0 /tmp/mk_hd_grub/hd-grub.img1 : start=3D = =C2=A0 =C2=A0 =C2=A0 =C2=A02048, size=3D =C2=A0 =C2=A0 =C2=A0157952, type= =3Dc, bootable =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0<br><div><br></div><div>=C2=A0</div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"> >I need=C2=A0 modules to boot the installer=C2=A0<br> >grubnetx64-installer.efi.signed has=C2=A0installer=C2=A0in the name, bu= t I'm guessing<br> >that isn't my problem, yet.<br> <br> Yeah, see when you get a bit further. :-)<br> <br> -- <br> Steve McIntyre, Cambridge, UK.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href= =3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><br> You raise the blade, you make the change... You re-arrange me 'til I= 9;m sane...<br> <br> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><span>Carl K<br></span></div></div></div> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><span>Carl K<br></span></div></div> --000000000000c2884c0657744c16--