Re: "efi" command support in blscfg?

Leo Sandoval via Grub-devel <[email protected]> Fri, 27 Feb 2026 13:44:49 -0600
Newsgroups org.gnu.grub-devel
Message-ID <CACF7NTjTo=MJSe0hCGSHE65EL96VKQ99dq-4--o8UTop8i7OXA@mail.gmail.com>
--===============4207723077846866483==
Content-Type: multipart/alternative; boundary="000000000000053677064bd3794b"

--000000000000053677064bd3794b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Neal,


On Fri, Feb 27, 2026 at 6:00=E2=80=AFAM Neal Gompa <[email protected]> wro=
te:

> Hey folks,
>
> I was wondering if there were plans to implement support for the "efi"
> command in the blscfg/blsuki module? For some reason I had thought
> this was implemented when the blscfg module was extended to support
> UKIs, but upon re-review, it isn't actually there.
>

The name of the command is 'uki', can you give it a try?


Just make sure that the UKI file(s) is present /boot/efi/EFI/Linux, which
is what uki cmd looks by default but you can set other paths with the
--path arg.


grub> uki --help
Usage: uki [-p|--path] DIR [-f|--enable-fallback] [-d|--show-default]
[-n|--show-non-default] [-e|--entry] FILE
Import Unified Kernel Images

-p, --path=3DDIR          Specify path to find UKI entries.
-f, --enable-fallback   Fallback to the default BLS path if --path fails to
find UKI entries.
-d, --show-default      Allow the default UKI entry to be added to the GRUB
menu.
-n, --show-non-default  Allow the non-default UKI entries to be added to th=
e
GRUB menu.
-e, --entry=3DFILE        Allow specificUKII entries to be added to the GRU=
B
menu.
-h, --help              Display this help and exit.
-u, --usage             Display the usage of this command and exit.
grub>


>
> It would be useful to have this for being able to offer drop-in files
> to chainload things like memtest86+ or other EFI utilities from GRUB.
> Or even chainload another boot manager (for e.g. Windows/ReactOS or
> something else odd).
>

Right, those are all good scenarios.


>
> Thanks in advance and best regards!
>
> --
> =E7=9C=9F=E5=AE=9F=E3=81=AF=E3=81=84=E3=81=A4=E3=82=82=E4=B8=80=E3=81=A4=
=EF=BC=81/ Always, there's only one truth!
>
>

--000000000000053677064bd3794b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi Neal,<div><br></div></div><br><div cla=
ss=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_at=
tr">On Fri, Feb 27, 2026 at 6:00=E2=80=AFAM Neal Gompa &lt;<a href=3D"mailt=
o:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex">Hey folks,<br>
<br>
I was wondering if there were plans to implement support for the &quot;efi&=
quot;<br>
command in the blscfg/blsuki module? For some reason I had thought<br>
this was implemented when the blscfg module was extended to support<br>
UKIs, but upon re-review, it isn&#39;t actually there.<br></blockquote><div=
><br></div><div><div>The name of the command is &#39;uki&#39;, can you give=
 it a try?</div><div><br></div><div><br></div><div>Just make sure that the =
UKI file(s) is present /boot/efi/EFI/Linux, which is what uki cmd looks by =
default but you can set other paths with the --path arg.</div></div><div><b=
r></div><div><br></div><div>grub&gt; uki --help <br>Usage: uki [-p|--path] =
DIR [-f|--enable-fallback] [-d|--show-default]<br>[-n|--show-non-default] [=
-e|--entry] FILE<br>Import Unified Kernel Images<br><br>-p, --path=3DDIR =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Specify path to find UKI entries.<br>-f, =
--enable-fallback =C2=A0 Fallback to the default BLS path if --path fails t=
o<br>find UKI entries.<br>-d, --show-default =C2=A0 =C2=A0 =C2=A0Allow the =
default UKI entry to be added to the GRUB<br>menu.<br>-n, --show-non-defaul=
t =C2=A0Allow the non-default UKI entries to be added to the<br>GRUB menu.<=
br>-e, --entry=3DFILE =C2=A0 =C2=A0 =C2=A0 =C2=A0Allow specificUKII entries=
 to be added to the GRUB<br>menu.<br>-h, --help =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0Display this help and exit.<br>-u, --usage =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Display the usage of this command and exit.=
<br>grub&gt;=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
<br>
It would be useful to have this for being able to offer drop-in files<br>
to chainload things like memtest86+ or other EFI utilities from GRUB.<br>
Or even chainload another boot manager (for e.g. Windows/ReactOS or<br>
something else odd).<br></blockquote><div><br></div><div>Right, those are a=
ll good scenarios.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">
<br>
Thanks in advance and best regards!<br>
<br>
-- <br>
=E7=9C=9F=E5=AE=9F=E3=81=AF=E3=81=84=E3=81=A4=E3=82=82=E4=B8=80=E3=81=A4=EF=
=BC=81/ Always, there&#39;s only one truth!<br>
<br>
</blockquote></div></div>

--000000000000053677064bd3794b--



--===============4207723077846866483==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR3J1Yi1kZXZl
bCBtYWlsaW5nIGxpc3QKR3J1Yi1kZXZlbEBnbnUub3JnCmh0dHBzOi8vbGlzdHMuZ251Lm9yZy9t
YWlsbWFuL2xpc3RpbmZvL2dydWItZGV2ZWwK

--===============4207723077846866483==--