Merge branch 'main' into 'main'

Fix add Discovering the firmware type

See merge request fedora/docs/fedora-linux-documentation/fedora-linux-sysadmin-guide!10
This commit is contained in:
Alix Andrieu 2023-01-10 08:51:16 +00:00
commit d990e0f391

View file

@ -531,14 +531,17 @@ 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]]
=== Discovering the firmware type ===
To discover what firmware your machine uses, run the following command:
# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
[subs="attributes"]
----
~]#{nbsp}[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
----
The output returns only UEFI or BIOS, depending on the firmware your machine runs.
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