* [pve-devel] [PATCH installer] grub: install all efi binaries in fallback/default dir
@ 2023-11-22 12:19 Fabian Grünbichler
2023-11-22 12:30 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Grünbichler @ 2023-11-22 12:19 UTC (permalink / raw)
To: pve-devel
else this fails with secureboot, where the entry point must be shim and not
grub.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
tested by using the "Hard Disk" boot option, instead of the (higher priority)
'proxmox' one when booting a freshly installed system using LVM and Secure Boot
Proxmox/Install.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Proxmox/Install.pm b/Proxmox/Install.pm
index 8825699..c99748c 100644
--- a/Proxmox/Install.pm
+++ b/Proxmox/Install.pm
@@ -605,8 +605,10 @@ sub prepare_grub_efi_boot_esp {
}
# also install fallback boot file (OVMF does not boot without)
mkdir("$targetdir/boot/efi/EFI/BOOT");
- syscmd("cp $targetdir/boot/efi/EFI/proxmox/grubx64.efi $targetdir/boot/efi/EFI/BOOT/BOOTx64.EFI") == 0 ||
+ syscmd("cp $targetdir/boot/efi/EFI/proxmox/*.efi $targetdir/boot/efi/EFI/BOOT/") == 0 ||
die "unable to copy efi boot loader\n";
+ syscmd("mv $targetdir/boot/efi/EFI/BOOT/shimx64.efi $targetdir/boot/efi/EFI/BOOT/BOOTx64.efi") == 0 ||
+ die "unable to setup default efi boot loader\n";
};
my $err = $@;
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH installer] grub: install all efi binaries in fallback/default dir
2023-11-22 12:19 [pve-devel] [PATCH installer] grub: install all efi binaries in fallback/default dir Fabian Grünbichler
@ 2023-11-22 12:30 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2023-11-22 12:30 UTC (permalink / raw)
To: Proxmox VE development discussion, Fabian Grünbichler
Am 22/11/2023 um 13:19 schrieb Fabian Grünbichler:
> else this fails with secureboot, where the entry point must be shim and not
> grub.
>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
> ---
> tested by using the "Hard Disk" boot option, instead of the (higher priority)
> 'proxmox' one when booting a freshly installed system using LVM and Secure Boot
>
> Proxmox/Install.pm | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-22 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 12:19 [pve-devel] [PATCH installer] grub: install all efi binaries in fallback/default dir Fabian Grünbichler
2023-11-22 12:30 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox