[ipxe-devel] Transform syslinux menu.c32/menu.cfg to ipxe menu

Ján ONDREJ (SAL) ondrejj at salstar.sk
Fri Sep 7 07:43:11 UTC 2012


  your script is missing "choose" command:

choose --default disk --timeout 30 value

More information here:


On Fri, Sep 07, 2012 at 09:26:23AM +0200, Thomas Glanzmann wrote:
> Hello IPXE,
> I would like to transform the following menu.c32 menu.cfg into the new
> ipxe menu syppnopsis, but I don't really get how.
> I saw http://ipxe.org/cmd/menu and understood so much that I can create
> menu entries with 'menu' followed by 'item' but what I don't understand
> is how do I tell ipxe to execute a section when a user selected item.
> Could you plaese advice. So basically I want to transform the following
> menu:
> http://pbot.rmdir.de/99abae6b4df7ada328173083625348e7
> But maybe lets start with two entries:
> menu title Boot menu
> label local
>         menu label ^Boot local Harddisk
>         menu default
>         kernel pxelinux.0
> label squeezex32
>         menu label ^1 Debian Squeeze x32
>         menu indent 1
>         kernel squeeze/debian-installer/i386/linux
>         append vga=788 initrd=squeeze/debian-installer/i386/initrd.gz -- quiet
> So basically I want that it boots after 10 seconds of inactivity from the local
> hard disk. That would be 'exit' in ipxe lingo. And if the user selects the
> squeeze x32 entry it should start of the debian installer. That would be:
>         kernel vga=788 interface=auto auto=true netcfg/dhcp_timeout=60 preseed/url= hostname=debian domain=gmvl.de
>         initrd
>         boot
> In ipxe lingo. So my menu would look like:
>   menu Boot menu
>   item disk Boot from disk
>   item preseed_squeeze_64 Preseed Squeeze 64 installation
> But how do I specify a timeout, the default menu entry and what happens if a
> user chooses a menu entry?
> Cheers,
>         Thomas
> _______________________________________________
> 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