iPXE discussion forum
iPXE general.h - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: iPXE general.h (/showthread.php?tid=19464)



iPXE general.h - wingarmac - 2019-09-07 02:08

Hi,

I'm a novice Linux user, and I'm trying to setup an iPXE server on Ubuntu.
Everything is working fine, excepted that I didn't find the way to change the way my menu is showing up (text color and placement, background)

The only thing I could find about it, that I'm probably missing is the general.h that needs to be added. But I do not understand where it should be stored on the system and how I should apply the changes I need to it.

My goal is to put a PNG image file as background and make sure the text color is white.
Highlighted text should be set too, so it remains in contrast with the background.

I found the commands to do it, but do not know and didn't find out how to enable those.

Please, help !
Thanks in advance Wink


RE: iPXE general.h - NiKiZe - 2019-09-08 03:09

The relevant command for configuration of colors and pictures are http://ipxe.org/cmd/console

Read that full page, because it has the configurations you mention.
Best is to edit config/local/general.h and add the
#define IMAGE_PNG /* PNG images */
#define CONSOLE_CMD /* Console commands */
and in config/local/console.h
#define CONSOLE_FRAMEBUFFER /* Graphical framebuffer console */

this is as described in the linked http://ipxe.org/buildcfg/image_png