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