Mattias Schlenker
2014-Jan-23 14:34 UTC
[syslinux] Loading syslinux.efi from preloader.efi
Hello everyone, I am trying to prepare a UEFI bootable thumb drive using syslinux and Linux foundations PreLoader.efi. I started the same as as it works with gummiboot-42: * Copy PRELOADER.EFI to EFI/BOOT/BOOTX64.EFI * Copy HASHTOOL.EFI to EFI/BOOT/BOOTX64.EFI * Copy gummibootx64.efi to EFI/BOOT/LOADER.EFI With just those files PreLoader asks to enroll gummiboot's hash. I do so and end up in gummiboot's menu. Copying the EFI64 syslinux.efi (from the 6.03-pre1 tarball) to EFI/BOOT/LOADER.EFI results in PreLoader complaining: Failed to start loader.efi: (2) Invalid Parameter. Disabling Secure Boot and copying syslinux.efi to EFI/BOOT/BOOTX64.EFI results in the firmware complaining "Operating System not Found". System is a Lenovo Ideacentre Q190. Who is to blame? Did I miss something that behaves differently than gummiboot? Is Lenovos firmware broken? Might the syslinux.efi not comply to the EFI standards? Regards, Mattias -- Mattias Schlenker - Redaktion + EDV-Beratung + Linux-CD/DVD-Konzepte August-Bebel-Str. 74 - 04275 LEIPZIG - GERMANY Telefon (VoIP "ueberall"), geschaeftlich: +49 341 39290767 Telefon (Festnetz), privat und Fax: +49 341 30393578 Mobil: +49 163 6953657 Mobil (SIM in Testgeraeten): +49 1578 3499550 Bitte fuer geschaeftliche Telefonate vorzugsweise die VoIP-Telefonnummer +49 341 39290767 verwenden, da ich diese aufs Mobiltelefon routen kann!
On 01/23/2014 06:34 AM, Mattias Schlenker wrote:> Hello everyone, > > I am trying to prepare a UEFI bootable thumb drive using syslinux and > Linux foundations PreLoader.efi. I started the same as as it works with > gummiboot-42: > > * Copy PRELOADER.EFI to EFI/BOOT/BOOTX64.EFI > * Copy HASHTOOL.EFI to EFI/BOOT/BOOTX64.EFI > * Copy gummibootx64.efi to EFI/BOOT/LOADER.EFI > > With just those files PreLoader asks to enroll gummiboot's hash. I do so > and end up in gummiboot's menu. > > Copying the EFI64 syslinux.efi (from the 6.03-pre1 tarball) to > EFI/BOOT/LOADER.EFI results in PreLoader complaining: Failed to start > loader.efi: (2) Invalid Parameter. Disabling Secure Boot and copying > syslinux.efi to EFI/BOOT/BOOTX64.EFI results in the firmware complaining > "Operating System not Found". System is a Lenovo Ideacentre Q190. > > Who is to blame? Did I miss something that behaves differently than > gummiboot? Is Lenovos firmware broken? Might the syslinux.efi not comply > to the EFI standards? >I think there was some issue with the headers in syslinux.efi... should try to address that. -hpa
On Mon, Jan 27, 2014 at 4:29 PM, H. Peter Anvin <hpa at zytor.com> wrote:> On 01/23/2014 06:34 AM, Mattias Schlenker wrote: >> Hello everyone, >> >> I am trying to prepare a UEFI bootable thumb drive using syslinux and >> Linux foundations PreLoader.efi. I started the same as as it works with >> gummiboot-42: >> >> * Copy PRELOADER.EFI to EFI/BOOT/BOOTX64.EFI >> * Copy HASHTOOL.EFI to EFI/BOOT/BOOTX64.EFI >> * Copy gummibootx64.efi to EFI/BOOT/LOADER.EFI >> >> With just those files PreLoader asks to enroll gummiboot's hash. I do so >> and end up in gummiboot's menu. >> >> Copying the EFI64 syslinux.efi (from the 6.03-pre1 tarball) to >> EFI/BOOT/LOADER.EFI results in PreLoader complaining: Failed to start >> loader.efi: (2) Invalid Parameter. Disabling Secure Boot and copying >> syslinux.efi to EFI/BOOT/BOOTX64.EFI results in the firmware complaining >> "Operating System not Found". System is a Lenovo Ideacentre Q190. >> >> Who is to blame? Did I miss something that behaves differently than >> gummiboot? Is Lenovos firmware broken? Might the syslinux.efi not comply >> to the EFI standards? >> > > I think there was some issue with the headers in syslinux.efi... should > try to address that.There's a still pending patch that may address the headers. -- -Gene