В Thu, 16 Jul 2015 18:51:08 +0200 Michal Kubecek <mkubecek@suse.cz> пишет:
On Thu, Jul 16, 2015 at 05:48:59PM +0300, Andrei Borzenkov wrote:
On Thu, Jul 16, 2015 at 3:33 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
I feel like it is needed to also select correct grub2 platform (i386-efi vs. x86_64-efi), but this requires more changes - it needs grub2 patch (present upstream), perl-Bootloader change (currently it is always 64 bit on x86_64) and may be yast-bootloader, not sure.
We have grub2-i386-efi package in openSUSE. It's only for i586 architecture but it can be installed on x86_64 and used as grub2-mkimage target.
Of course. What I mean that upstream will auto-detect whether EFI is 32 or 64 and automatically generate correct image. Assuming suitable kernel support of course.
I had some problems with the resulting efi loader image but I haven't identified the cause yet.
Michal Kubeček
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org