On Mon, Jun 17, 2024 at 02:52:07PM GMT, Vladimir Serbinenko wrote:
> In some cases like loading kernel from native disk (e.g. nvme) not
> supported by EFI in question efi stub is not an option. Allow
> user to disable efi stub and fallback to older protocol

I'm not sure I follow. The disk does not need to be supported by
EFI for the EFI stub to work, we are loading the kernel into memory
and then running it from a memory device path.

Hence you can run EFI stub fine from anywhere, whether it's an
nvme disk or a squashfs image.

There is a specific problem with looking up the device path which
I said before, it always uses (root) instead of the actual device
you loaded the kernel from which is silly.
-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to