[ipxe-devel] (U)EFI questions

Christian Nilsson nikize at gmail.com
Sat Aug 22 09:09:09 UTC 2015


Hi,

Your best approach for linux is to have one kernel with efistub
enabled - that way it will be both an normal kernel and an efi binary
at the same time.
other then that you have the platform variable to detect boot mode:
http://ipxe.org/cfg/platform

/Christian

On Sat, Aug 22, 2015 at 10:50 AM, brent s. <bts at square-r00t.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hey all-
>
> I had asked in IRC about PNG/Background image support in EFI builds. It
> seems it's currently not supported due to a currently needed fixed-width
> bitmap font definition. Is this correct?
>
> I was also wondering if it was possible to detect if the machine was
> booted via UEFI mode as opposed to BIOS, perhaps via an environment
> variable?
>
> Something like:
>
> isset ${uefi} || set ${bootmode} BIOS
>
> or perhaps
>
> iseq ${bootmode} EFI && set kernelfile vmlinuz.efi
>
> etc.
>
>
> - --
> brent saner
> http://www.square-r00t.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCgAGBQJV2DfNAAoJEIwATC+TSB9rPiUP/1hY4qhIj6GeqgYdETZnZcjh
> ZcYX0SLHnK105eaNZ6jD/w0uoZnp8ESbKj1r+osmOifYvpLIFKmTTPgNVTXOy3FG
> trT6MXXcjA4Z9LMSJCZu3g6zmBegPzbJK5fC+n7u0h3SKKZneQmfmCmvIVgGcf7b
> uwJGFdRPtkmqoho15Y8ePLXlVxGCX0Tjv0k3vY9evRCoWylAH+bFgHUjfVcsGGPp
> dFq7tmV4qs8e11LFIF7wubjT+Ng0nkoBHW40IvdhEEfGUmDRJ4Ict/tw3xwG7eNB
> K6vzMeXkGH+pTvwVA/qTqBDpYjBY0q65AQFdjXv/7EQwKPamx2MWxYBLOEJQAqlL
> sFvn0qlBBAP5PhYxjvMciIRIlpMG+8a2ti7dVohbn0LvuaSBwAWobEWtgCW2yQcA
> UWWxXFTSFiy8ZKPX27e4pYR2Ljw4kZ2fIDgShyHspF9ukJEZ8d9cJ0IgYVf9pQQX
> xvv9RkUUJUoPo8BjymDVwEcBFNh3TBtzcvEzmhRKrLQEjRff8ltXFYg3ev8ax6YM
> PTrkw0Ul2+uBTMXuFDgWWe0ZGm0vOF+zV17DTPI0bt3nOifr2BmvUb+m36XIyl53
> ARgFo0yKUCwIAU4/pRxtjP5IHDGZTZmJFW8tgxAhHr4BuciWAIIJ/dsKyMswbEwB
> I9l6XN2nm6pI2c/uQndc
> =FcR9
> -----END PGP SIGNATURE-----
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel at lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel



More information about the ipxe-devel mailing list