[syslinux] vesamenu.c32 and EFI

Erik Erik at Broadlux.com
Mon Sep 30 16:13:08 PDT 2019


Your syslinux.cfg has two identical LABEL statements. Try changing one.

Try copying all *.c32 modules to the same location as the syslinux.cfg 
directory.

Try compiling from a branch, not master.

On 9/29/19 8:52 AM, Rob via Syslinux wrote:
> Hello!
>
> I've been attempting to add EFI support to a linux live distro (slax), 
> it's built on a syslinux bootloader.
> I can get EFI to work using menu.c32 on syslinux 6.03; however ideally 
> we'd like the VESA menu as well.
>
> When we use the vesamenu.c32 and libcom32.c32 from 6.03 we end up with 
> a blank screen and the machine
> seems to hang.  I've tried adding MENU RESOLUTION based on : 
> https://bugzilla.syslinux.org/show_bug.cgi?id=27#c2
> and that doesn't change the behaviour at all.
>
> I figured it might be already working/fixed in master so I've built 
> syslinux myself instead last night
> and was consistently presented with errors when trying to load instead:
>
> ```
> undef symbol FAIL: __syslinux_debug_enabled
> Failed to load libcom32.c32
> Failed to load COM32 file vesamenu.c32
> boot:
> ```
>
> I'm at a bit of a loss where to go from here from either path, any 
> suggestions?
>
> Thanks,
> Rob
>
> ls
> ```
> -a----       29/09/2019     16:35            465 syslinux.cfg
> -a----       29/09/2019     16:33         139968 ldlinux.e64
> -a----       29/09/2019     16:33          24480 libutil.c32
> -a----       29/09/2019     16:33          31760 menu.c32
> -a----       29/09/2019     16:33          32456 vesamenu.c32
> -a----       29/09/2019     16:33         201680 libcom32.c32
> -a----       29/09/2019     16:33         199952 bootx64.efi
> ```
>
> (bootx64.efi is efi64/efi/syslinux.efi renamed
>
> syslinux.cfg
> ```
> UI vesamenu.c32
>
> TIMEOUT 140
> MENU ROWS 4
>
> MENU CLEAR
> MENU BACKGROUND /slax/boot/bootlogo.png
> MENU RESOLUTION 1024 768
>
> LABEL default
> MENU LABEL Run Linux
> KERNEL /slax/boot/vmlinuz
> APPEND vga=769 initrd=/slax/boot/initrfs.img load_ramdisk=1 
> prompt_ramdisk=0 rw printk.time=0 apparmor=0
>
> LABEL default
> MENU LABEL Run Linux debug
> KERNEL /slax/boot/vmlinuz
> APPEND vga=769 initrd=/slax/boot/initrfs.img load_ramdisk=1 
> prompt_ramdisk=0 rw printk.time=0 apparmor=0 debug
> ```
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at syslinux.org
> Unsubscribe or set options at:
> https://lists.syslinux.org/syslinux




More information about the Syslinux mailing list