Add discovering the firmware type for grub2

This commit is contained in:
Michael Wu 2023-05-11 19:27:45 -05:00
parent 585f7e1de1
commit 6d52cca4b3
3 changed files with 15 additions and 0 deletions

View file

@ -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.

View file

@ -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. 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-bios-system.adoc[leveloffset=+1]
include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1] include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1]

View file

@ -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 systems. For upgrades of BIOS systems, the default is also to install
*GRUB2*, but you can opt to skip bootloader configuration entirely. *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-bios-system.adoc[leveloffset=+1]
include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1] include::{partialsdir}/proc_installing-grub2-on-efi-system.adoc[leveloffset=+1]