From 6e83e0b84395f2e1a72e4413036cdf89ec063553 Mon Sep 17 00:00:00 2001 From: Michael Wu Date: Wed, 10 May 2023 14:44:12 -0500 Subject: [PATCH] Add warning to upgrading for UEFI-based systems --- modules/ROOT/pages/dnf-system-upgrade.adoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/ROOT/pages/dnf-system-upgrade.adoc b/modules/ROOT/pages/dnf-system-upgrade.adoc index 7983c8f..687beb6 100644 --- a/modules/ROOT/pages/dnf-system-upgrade.adoc +++ b/modules/ROOT/pages/dnf-system-upgrade.adoc @@ -122,6 +122,20 @@ If you use `rpmconf` to upgrade the system configuration files supplied with the Systems with the BIOS firmware have the GRUB RPM packages updated. However, the installed or embedded bootloader is never updated automatically. It is a good idea to update it between Fedora release versions. +[WARNING] +==== +This only applies to BIOS-based systems, *not UEFI-based*. 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. + +For more information, see link:++https://fedoraproject.org/wiki/GRUB_2#Reinstalling_GRUB++[Reinstalling_GRUB]. +==== + Find the device node the `/boot/` directory is located on: [source,bash]