Re: [PATCH] Change "efi" to "EFI" in grub-mkrescue for secure boot

2024-09-07 Thread Askar Safin via Grub-devel
On Sat, 07 Sep 2024 11:53:15 +0400 Vladimir 'phcoder' Serbinenko wrote --- > > And main argument: I'm aware of one example when "EFI" is hard-coded in > > signed secure boot GRUB binary. Debian has 4 signed GRUB binaries. All > > they are generated > > here:https://sources.debian.org/s

Re: [PATCH] Change "efi" to "EFI" in grub-mkrescue for secure boot

2024-09-07 Thread Thomas Schmitt via Grub-devel
Hi, Pascal Hambourg wrote: > When > booting from a EFI partition on a regular disk, then $root is set to the > EFI partition (hdX,Y). When booting from a EFI El Torito image on a CD, > then $root is set to the whole CD (cdX), and the El Torito image is not > visible. That's a surprise to me. I w

Re: [PATCH] Change "efi" to "EFI" in grub-mkrescue for secure boot

2024-09-07 Thread Vladimir 'phcoder' Serbinenko
> > > > And main argument: I'm aware of one example when "EFI" is hard-coded in > signed secure boot GRUB binary. Debian has 4 signed GRUB binaries. All they > are generated here: > https://sources.debian.org/src/grub2/2.12-5/debian/build-efi-images/ . > One of them, grubx64.efi is created using "g

Re: [PATCH] Change "efi" to "EFI" in grub-mkrescue for secure boot

2024-09-07 Thread Vladimir 'phcoder' Serbinenko
Le sam. 7 sept. 2024, 00:51, Pascal Hambourg a écrit : > On 06/09/2024 at 15:15, Askar Safin wrote: > > > > While testing this script I noticed this: if I boot from disk (i. e. > > using "-drive" Qemu option), then "grub.cfg" is read from ESP, i. e. > > FAT. But if I boot from CD (i. e. using "-c