mirror of
https://git.proxmox.com/git/proxmox-kernel-helper
synced 2025-10-04 17:08:19 +00:00
grub-install: provide --removable to grub-install
noticed while installing with secure-boot enabled on ZFS RAID1: The system has no entry to boot from in the efi-vars and the entry for the first disk simply does not boot (I assume OVMF tries the default bootx64.efi. Since `proxmox-boot-tool init` should only be done for ESPs, which are dedicated to proxmox products I don't think that this will cause many regressions For comparison - our installer has done the manual equivalent of the --removable option for installs on ext4 for quite a while. minimally tested on a VM during install. Reported-by: Thomas Lamprecht <t.lamprecht@proxmox.com> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
61422549fe
commit
9bf8552858
@ -166,6 +166,7 @@ init_bootloader() {
|
|||||||
--target x86_64-efi \
|
--target x86_64-efi \
|
||||||
--no-floppy \
|
--no-floppy \
|
||||||
--efi-directory "${esp_mp}" \
|
--efi-directory "${esp_mp}" \
|
||||||
|
--removable \
|
||||||
--bootloader-id 'proxmox' \
|
--bootloader-id 'proxmox' \
|
||||||
"/dev/$PKNAME"
|
"/dev/$PKNAME"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user