Greg KH schrieb: > On Mon, Dec 10, 2012 at 12:21:29AM +0100, Chí-Thanh Christopher Nguyễn wrote: >> Greg KH schrieb: >>>> No, all we need is to enable EFI stub support in the kernel, and >>>> integrate the initramfs using CONFIG_INITRAMFS_SOURCE and place it in >>>> some location where UEFI looks for it (/efi/boot/bootx64.efi). >>>> >>>> This has the disadvantage of not allowing to pass additional kernel >>>> parameters during boot. But it might still be an acceptable stopgap >>>> measure if the alternative is to not boot at all. >>> >>> No, don't do that for an "install" kernel, that way is madness, just use >>> a real UEFI bootloader which can handle an initrd and the like properly >> >> Can you explain what problems you see with that? How does >> CONFIG_INITRAMFS_SOURCE handle initrd improperly? > > Ah, didn't notice that, it might work, have you tried it?
I took some time and summarized all the steps needed to get a booting EFI stub kernel including initramfs in a wiki article. https://wiki.gentoo.org/wiki/EFI_stub_kernel Best regards, Chí-Thanh Christopher Nguyễn