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?

> Only boot a kernel directly from UEFI if you build your own and have
> customized it for your hardware.

I booted genkernel generated non-customized kernels as well as customized
hand-configured kernels using that method.


Best regards,
Chí-Thanh Christopher Nguyễn


Reply via email to