diff --git a/usr/lib/tik/modules/pre/10-welcome b/usr/lib/tik/modules/pre/10-welcome index 596676d..4c48e76 100644 --- a/usr/lib/tik/modules/pre/10-welcome +++ b/usr/lib/tik/modules/pre/10-welcome @@ -35,5 +35,15 @@ checkLaptop() { fi } +verify_efi() { + # Verify that the system was booted with EFI, exit with error if not + if [ ! -d /sys/firmware/efi ]; then + # System was not booted with EFI + local error_msg="openSUSE Aeon requires UEFI mode, which is not found on your system.\nPlease check your BIOS settings to see if UEFI can be enabled." + error "${error_msg}" + fi +} + proceedInstall -checkLaptop \ No newline at end of file +verify_efi +checkLaptop