On Thursday 16 of July 2015 21:48:02 Andrei Borzenkov wrote:
В Thu, 16 Jul 2015 18:51:08 +0200
Michal Kubecek <mkubecek@suse.cz> пишет:
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 found this commit: commit 1a33de8b5612f8d7ab344546f8a91fa814f712b5 Author: Steve McIntyre <steve@einval.com> Date: Fri Mar 27 14:51:51 2015 +0100 Recognize EFI platform even in case of mismatch between Linux and EFI. Some x86 systems might be capable of running a 64-bit Linux kernel but only use a 32-bit EFI (e.g. Intel Bay Trail systems). It's useful for grub-install to be able to recognise such systems, to set the default x86 platform correctly. To allow grub-install to know the size of the firmware rather than just the size of the kernel, there is now an extra EFI sysfs file to describe the underlying firmware. Read that if possible, otherwise fall back to the kernel type as before. Signed-off-by: Steve McIntyre <steve@einval.com> I'll give it a try when I find time. Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org