[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 0/2] xen/efi: Make boot more flexible, especially with GRUB2
On Tue, Jun 24, 2025 at 09:38:42AM +0100, Frediano Ziglio wrote: > On Tue, Jun 24, 2025 at 9:32 AM Frediano Ziglio > <frediano.ziglio@xxxxxxxxx> wrote: > > > > The combination of GRUB2, EFI and UKI allows potentially more flexibility. > > For instance is possible to load xen.efi from a no ESP partition leaving > > a boot loader like GRUB2 taking care of the file loading. > > This however requires some changes in Xen to be less restrictive. > > Specifically for GRUB2 these changes allows the usage of "chainloader" > > command with UKI and reading xen.efi from no ESP (so no DeviceHandle > > set) and usage of "linux" and "initrd" commands to load separately > > the kernel (embedding using UKI) and initrd (using LoadFile2 protocol). > > I was forgetting. If somebody wants to test "linux" and "initrd" > command with these changes be aware that GRUB currently has a problem > passing arguments, I posted a patch, see > https://lists.gnu.org/archive/html/grub-devel/2025-06/msg00156.html. > I also have a workaround for this issue in xen but it would be better > to have a fix in GRUB. Can you tell more how to test this, especially the second variant? When trying to use GRUB linux or linuxefi commands on xen.efi, I get "invalid magic number" error. -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab Attachment:
signature.asc
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |