[syslinux] Booting legacy Linux kernel in EFI mode

Celelibi celelibi at gmail.com
Wed Oct 16 15:41:54 PDT 2013


2013/9/26, Ciprian Dorin Craciun <ciprian.craciun at gmail.com>:
> On Tue, Sep 24, 2013 at 11:57 PM, Gene Cumm <gene.cumm at gmail.com> wrote:
>> On Sun, Sep 22, 2013 at 3:09 PM, Celelibi <celelibi at gmail.com> wrote:
>>> And (a bit out of scope) if I get my old kernel to boot in EFI mode,
>>> will the driver efivars have access to the EFI variables? Or does the
>>> kernel need to be recompiled specially for EFI?
>>
>> Doubtful.  Yes (although I think most EFI kernels I've seen will
>> function for both).
>
>
>     Just to be clear, it requires enabling of `CONFIG_EFI_STUB`
> configuration variable right?
>
>     Because although I'm using one of the pre-release versions of
> `6.02` which should support x32 kernel loading (with x64 UEFI) it
> still doesn't work for me.  (Although I haven't fiddle too much with
> it.)

If I understood correctly, CONFIG_EFI_STUB only allows you to boot
your kernel as an EFI executable. That is, you can copy it to the
FAT32 partition and run vmlinuz.efi. See
Documentation/x86/efi-stub.txt.
But I don't know about x32 and x64 behavior. Why don't you use a
64bits kernel with your x64 UEFI?

Celelibi


More information about the Syslinux mailing list