iPXE discussion forum

Full Version: iPXE general.h
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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
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
Reference URL's