[syslinux] VMware with UEFI fails to boot

Conrad Kostecki ck at conrad-kostecki.de
Sat Feb 1 11:18:46 PST 2014


Hi there,
I am trying to setup a bootable PXELinux (Using 6.02) over UEFI.
Currently, I am using DNSMasq for this. PXE with BIOS works perfectly fine for me.
As I don't have any UEFI devices here, I am using VMware Workstation 10.0.1 for testing.

My DNSMasq setup has been extended, to load also UEFI:
dhcp-boot=pxelinux.0
dhcp-match=set:efi-ia32,option:client-arch,6
dhcp-boot=tag:efi-ia32,bootia32.efi
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,bootx64.efi
enable-tftp
tftp-root=/var/lib/tftp/boot

That seems to work, as VMware chooses in BIOS-mode pxelinux.0 and in UEFI-mode bootx64.efi.
But after loading in UEFI-mode it crashes. VMware says: "The firmware encountered an unexpected exception. The virtual machine cannot boot"
The virtual screen shows:
"Getting cached packet"
"My IP is 192.168.23.25"
"_"

The DNSMasq log says:
Feb 01 20:13:06 [dnsmasq-tftp] Fehler 8 User aborted the transfer von 192.168.23.25 empfangen
Feb 01 20:13:06 [dnsmasq-tftp] konnte /var/lib/tftp/boot/bootx64.efi nicht an 192.168.23.25 senden
Feb 01 20:13:06 [dnsmasq-tftp] /var/lib/tftp/boot/bootx64.efi an 192.168.23.25 verschickt
Feb 01 20:13:06 [dnsmasq-tftp] Datei /var/lib/tftp/boot/ldlinux.e64 nicht gefunden
                - Last output repeated twice -
Feb 01 20:13:06 [dnsmasq-tftp] Datei /var/lib/tftp/boot/boot/isolinux/ldlinux.e64 nicht gefunden
Feb 01 20:13:06 [dnsmasq-tftp] Datei /var/lib/tftp/boot/isolinux/ldlinux.e64 nicht gefunden
Feb 01 20:13:06 [dnsmasq-tftp] Datei /var/lib/tftp/boot/boot/syslinux/ldlinux.e64 nicht gefunden
Feb 01 20:13:06 [dnsmasq-tftp] Datei /var/lib/tftp/boot/syslinuxldlinux.e64 nicht gefunden
Feb 01 20:13:06 [dnsmasq-tftp] /var/lib/tftp/boot/syslinux/ldlinux.e64 an 192.168.23.25 verschickt
Feb 01 20:13:06 [dnsmasq-tftp] Fehler 0 No error, file close von 192.168.23.25 empfangen
Feb 01 20:13:06 [dnsmasq-tftp] konnte /var/lib/tftp/boot/syslinux/ldlinux.e64 nicht an 192.168.23.25 senden

# ls -la /var/lib/tftp/boot/bootx64.efi
lrwxrwxrwx 1 dnsmasq dnsmasq 34  1. Feb 19:58 /var/lib/tftp/boot/bootx64.efi -> ../syslinux/efi64/efi/syslinux.efi
# ls -la /var/lib/tftp/boot/syslinux/ldlinux.e64
lrwxrwxrwx 1 dnsmasq dnsmasq 54  1. Feb 19:58 /var/lib/tftp/boot/syslinux/ldlinux.e64 -> ../../syslinux/efi64/com32/elflink/ldlinux/ldlinux.e64

I am missing some dependencies? There are no error messages, why it is crashing..

Conrad



More information about the Syslinux mailing list