diff --git a/modules/system-administrators-guide/pages/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader.adoc b/modules/system-administrators-guide/pages/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader.adoc index 2464357..e437157 100644 --- a/modules/system-administrators-guide/pages/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader.adoc +++ b/modules/system-administrators-guide/pages/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader.adoc @@ -1,4 +1,3 @@ - :experimental: include::{partialsdir}/entities.adoc[] @@ -532,6 +531,15 @@ Reinstalling GRUB 2 is a convenient way to fix certain problems usually caused b * Adding the boot information to another drive. +[[Discovering the firmware type]] +=== Discovering the firmware type === + +To discover what firmware your machine uses, run the following command: + +# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS + +The output returns only UEFI or BIOS, depending on the firmware your machine runs. + [[sec-grub2-reinstall_on_BIOS-Based_Machines]] === Reinstalling GRUB 2 on BIOS-Based Machines