Thanks for the information.
I will see whether I can get a newer version of kernel working, and investigate 
whether gummiboot or rEFInd will be fit for my application.

Thanks,
Betty

From: [email protected] 
[mailto:[email protected]] On Behalf Of Chris Murphy
Sent: Thursday, January 10, 2013 1:04 PM
To: [email protected]
Subject: Re: How to build grub.efi out of Grub Legacy code?


On Jan 10, 2013, at 10:21 AM, "Zhan, Beilei" 
<[email protected]<mailto:[email protected]>> wrote:


Thanks for your reply.
I would use 2.0 if it provides stable EFI boot. Unfortunately it doesn't work 
well with the kernel I am using.
Is there any requirement for the kernel (like version or certain patch) to boot 
with Grub2 EFI?

Thanks,
Betty

The kernel has several CONFIG_EFI_ options, and at least CONFIG_EFI and 
CONFIG_EFI_PARTITION would need to be enabled.

You may find it easier with more recent kernels, I think 3.2 or newer, to use 
CONFIG_EFI_STUB, and a boot manager like gummiboot or rEFInd. Both of those 
boot managers are capable of using the linux kernel's own built-in EFI boot 
loader to boot itself. Obviously it depends on your application. But consider 
GRUB Legacy is not maintained, I don't think GRUB legacy is a good choice.

There are some Red Hat unique patches on top of GRUB2 2.00 related to EFI that 
they are using in Fedora 18. There unique commands linuxefi and initrdefi are 
used to load the kernel and initrd on UEFI computers. I'm not sure what those 
are doing that upstream GRUB linux and initrd commands are not.

Chris Murphy
Notice: This e-mail and any files transmitted with it may contain Data Device 
Corporation's privileged and proprietary information. It is intended solely for 
the use of the individual or entity to whom it is addressed. If you are not the 
named recipient of this transmission, any disclosure, copying, distribution or 
reliance on the contents of this message is prohibited. If you received this 
e-mail in error, please destroy it and any attached files and notify me 
immediately.
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to