mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
If EFI boot was requested an no EFI firmware is available, hard stop.
This commit is contained in:
parent
444616022e
commit
ca03a4dada
1 changed files with 3 additions and 3 deletions
6
quickemu
6
quickemu
|
@ -394,9 +394,9 @@ function vm_boot() {
|
||||||
EFI_CODE="/usr/share/OVMF/x64/OVMF_CODE.fd"
|
EFI_CODE="/usr/share/OVMF/x64/OVMF_CODE.fd"
|
||||||
efi_vars "/usr/share/OVMF/x64/OVMF_VARS.fd" "${EFI_VARS}"
|
efi_vars "/usr/share/OVMF/x64/OVMF_VARS.fd" "${EFI_VARS}"
|
||||||
else
|
else
|
||||||
BOOT_STATUS="Legacy BIOS (${guest_os^}) - EFI requested but no EFI firmware found."
|
echo "ERROR! EFI boot requested but no EFI firmware found."
|
||||||
boot="legacy"
|
echo " Please install OVMF firmware."
|
||||||
secureboot="off"
|
exit 1
|
||||||
fi
|
fi
|
||||||
BOOT_STATUS="EFI (${guest_os^}), OVMF ($(basename "${EFI_CODE}")), SecureBoot (${secureboot})."
|
BOOT_STATUS="EFI (${guest_os^}), OVMF ($(basename "${EFI_CODE}")), SecureBoot (${secureboot})."
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue