[ipxe-devel] Need help using a background image in the boot menu

VBVB Servicedesk - Bento de Gier Bento at vbvb.nl
Mon Feb 7 12:36:34 UTC 2011


Hi,



I have just installed our PXE boot server using PXE which chainloads iPXE http://ipxe.org/.<http://ipxe.org/> iPXE loads a menu.cfg which displays a nice menu which allows our employees to choose what to boot (Ghost, GParted, UBCD etc.).



The menu etc. all works fine. To spice it up a bit i want to add a menu background. I know this is possible but i keep failing. I tried to use the file available here as a test: http://www.howtoforge.com/setting-up-a-pxe-install-server-on-ubuntu-9.10-p3



Here is my (shortened) menu.cfg:

------------------------------------------

DEFAULT      vesamenu.c32

PROMPT       0

MENU MARGIN 10

MENU ROWS 16

MENU TABMSGROW 21

MENU TIMEOUTROW 26

MENU COLOR BORDER 30;44         #20ffffff #00000000 none

MENU COLOR SCROLLBAR 30;44              #20ffffff #00000000 none

MENU COLOR TITLE 0              #ffffffff #00000000 none

MENU COLOR SEL   30;47          #40000000 #20ffffff

MENU BACKGROUND splash.png

MENU TITLE PXE Boot Menu

timeout 1200



label local

        menu label Boot local HDD

        localboot 1



label ghost

        menu label Symantec Ghost

        menu default

        kernel memdisk

        append initrd=ghost/ghost.img

------------------------------------------



Now using a .jpg file i get the following screen:

http://i56.tinypic.com/vemdew.jpg



Notice the "crap" at the top of the screen. That colored line dissapears when i use an 8 bit PNG but the background stays black. I've tried alot of different "How To's" i found online.



Splash.png is in the same directory as this menu.cfg is in which is /var/www/pxe/ where all my ISO's etc reside. My DHCP options are:



------------------------------------------

subnet 172.13.14.0 netmask 255.255.255.0 {

        range 172.13.14.30 172.13.14.200;

        option domain-name-servers 172.13.14.1;

        option routers 172.13.14.1;

         if exists user-class and option user-class = "iPXE" {

              filename "http://172.13.14.9/pxe/menu.gpxe";

          } else {

              filename "undionly-ipxe.kpxe";

         }

        next-server 172.13.14.9;

        option tftp-server-name "172.13.14.9";

        option domain-name "vbvb.td";

        option thinsrv 172.13.14.92;

        # required by Intel PXE-2.1

        server-identifier 172.13.14.9;

}

------------------------------------------



Please advice! :)



Thanks,



Bento

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20110207/e131008c/attachment.htm>


More information about the ipxe-devel mailing list