[syslinux] Compiling Menu.c32

Gene Cumm gene.cumm at gmail.com
Thu Jul 2 02:57:07 PDT 2015


On Jul 2, 2015 2:00 AM, "patrick295767 patrick295767 via Syslinux"
<syslinux at zytor.com> wrote:
>
> Hello,
>
> First, could you make a tar.gz instead of a tar.xz (at least on debian)?

https://www.kernel.org/pub/linux/utils/boot/syslinux/ shows .tar.gz
archives.  You'll need to talk to Debian about the Debian archive.

> I compiled the syslinux-4.05+dfsg
> I would like to ask you if I shall copy the menu.elf + menu.c32 to the
> concerned directory?

Only the .c32 file.

> The menu.elf is needed or it shall be renamed as menu.c32 ?

It's not needed.

> Shall ldlinux.sys be too coming from same file?

Don't install this yourself.  Use any of the SYSLINUX installers.
Please read doc/syslinux.txt.

> my simple example of menu:
>
> default menu.c32

This would be preferable:

DEFAULT superLinuxOS
UI menu.c32

> prompt 0
>
> MENU TITLE Sample Menu
> MENU AUTOBOOT Starting SuperOS in # seconds
> timeout 300
> TOTALTIMEOUT 9000
>
> label superLinuxOS
>   MENU DEFAULT
>   MENU LABEL SuperOS 5.3
>   kernel live/vmlinuz
>   append initrd=live/initrd.gz root=/dev/sda2
>
> label disk0
>   localboot 0
>   MENU LABEL Boot disk (0x80)

I general pick one case for the directives for my own reading but the
parser won't care.

--Gene


More information about the Syslinux mailing list