Merge branch 'main' into 'main'

add Discovering the firmware type , dopied from...

See merge request fedora/docs/fedora-linux-documentation/fedora-linux-sysadmin-guide!9
This commit is contained in:
Alix Andrieu 2023-01-07 14:01:32 +00:00
commit e0e6445f2d

View file

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