diff --git a/modules/ROOT/pages/_partials/proc_discovering-the-firmware-type.adoc b/modules/ROOT/pages/_partials/proc_discovering-the-firmware-type.adoc new file mode 100644 index 0000000..ab8277c --- /dev/null +++ b/modules/ROOT/pages/_partials/proc_discovering-the-firmware-type.adoc @@ -0,0 +1,11 @@ +[[discovering-the-firmware-type]] += Discovering the firmware type + +To discover what firmware your machine uses, run the following command: + +[source,bash] +---- +$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS +---- + +The output returns only UEFI or BIOS, depending on the firmware your machine runs. diff --git a/modules/ROOT/pages/bootloading-with-grub2.adoc b/modules/ROOT/pages/bootloading-with-grub2.adoc index 30c0830..6658f57 100644 --- a/modules/ROOT/pages/bootloading-with-grub2.adoc +++ b/modules/ROOT/pages/bootloading-with-grub2.adoc @@ -11,6 +11,8 @@ include::{partialsdir}/unreviewed-message.adoc[] Since Fedora 16, *GRUB2* has been the default bootloader on x86 BIOS systems. For upgrades of BIOS systems, the default is also to install *GRUB2*, but you can opt to skip bootloader configuration entirely. +include::{partialsdir}/proc_discovering-the-firmware-type.adoc[leveloffset=+1] + include::{partialsdir}/proc_installing-grub2-on-bios-system.adoc[leveloffset=+1] include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1] diff --git a/modules/ROOT/pages/installing-grub2.adoc b/modules/ROOT/pages/installing-grub2.adoc index b669beb..67219ce 100644 --- a/modules/ROOT/pages/installing-grub2.adoc +++ b/modules/ROOT/pages/installing-grub2.adoc @@ -26,6 +26,8 @@ Since Fedora 16, *GRUB2* has been the default bootloader on x86 BIOS systems. For upgrades of BIOS systems, the default is also to install *GRUB2*, but you can opt to skip bootloader configuration entirely. +include::{partialsdir}/proc_discovering-the-firmware-type.adoc[leveloffset=+1] + include::{partialsdir}/proc_installing-grub2-on-bios-system.adoc[leveloffset=+1] include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1]