On Tue, Apr 1, 2025 at 12:36 PM Vladimir 'phcoder' Serbinenko
wrote:
>
>
>
> Le jeu. 27 mars 2025, 23:44, Alec Brown a écrit :
>>
>> On Wed, Mar 26, 2025 at 5:43 AM, Vladimir 'phcoder' Serbinenko
>> wrote:
>> >>
>> >>
>> >>
>> >> +#ifdef GRUB_MACHINE_EFI
>> >> +#include
>> >> +#include
>> >>
Hi,
> > > Can GRUB parse image and get kernel and initrd out of it and load
> > > like Linux? What prevents add doing so. This is not a problem for
> > > this patch per se but I want to understand
> > If we aren't utilizing the EFI stub in the UKI, we could parse the
> > kernel and initrd from
Le sam. 12 avr. 2025, 06:45, Alec Brown a écrit :
> On Tue, Apr 1, 2025 at 6:35 AM, Vladimir 'phcoder' Serbinenko <
> phco...@gmail.com> wrote:
> > Le jeu. 27 mars 2025, 23:44, Alec Brown a
> écrit :
> >
> >> On Wed, Mar 26, 2025 at 5:43 AM, Vladimir 'phcoder' Serbinenko <
> >> phco...@gmail.com
On Tue, Apr 1, 2025 at 6:35 AM, Vladimir 'phcoder' Serbinenko
wrote:
> Le jeu. 27 mars 2025, 23:44, Alec Brown a écrit :
>
>> On Wed, Mar 26, 2025 at 5:43 AM, Vladimir 'phcoder' Serbinenko <
>> phco...@gmail.com> wrote:
>> >>
>> >>
>> >>
>> >> +#ifdef GRUB_MACHINE_EFI
>> >> +#include
>> >> +#in
Le jeu. 27 mars 2025, 23:44, Alec Brown a écrit :
> On Wed, Mar 26, 2025 at 5:43 AM, Vladimir 'phcoder' Serbinenko <
> phco...@gmail.com> wrote:
> >>
> >>
> >>
> >> +#ifdef GRUB_MACHINE_EFI
> >> +#include
> >> +#include
> >> +#include
> >> +#endif
> >> +
> >>
> > Can UKI work without EFI? I th
On Wed, Mar 26, 2025 at 5:43 AM, Vladimir 'phcoder' Serbinenko
wrote:
>>
>>
>>
>> +#ifdef GRUB_MACHINE_EFI
>> +#include
>> +#include
>> +#include
>> +#endif
>> +
>>
> Can UKI work without EFI? I think of scenario of putting e.g. EFI disk into
> coreboot or BIOS machine.
No UKI only works EFI
On Tue, Mar 25, 2025 at 8:16 AM Alec Brown via Grub-devel
wrote:
>
> A Unified Kernel Image is a single UEFI PE file that combines a UEFI boot
> stub,
> a Linux kernel image, an initrd, and further resources. The uki command will
> locate where the uki file is and create a GRUB menu entry to load
>
>
>
> +#ifdef GRUB_MACHINE_EFI
> +#include
> +#include
> +#include
> +#endif
> +
>
Can UKI work without EFI? I think of scenario of putting e.g. EFI disk into
coreboot or BIOS machine.
> GRUB_MOD_LICENSE ("GPLv3+");
>
> #define GRUB_BLS_CONFIG_PATH "/loader/entries/"
> +#define GRUB_UKI_CON