summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2024-02-06 04:48:23 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2024-02-06 04:48:23 +0000
commit57e4ece92184a4b62630fe8e109262f89fb89c9e (patch)
tree6386fcc07fa88637809d38ab7ec4666bba94f555 /metadata/news
parent2024-02-06 04:18:30 UTC (diff)
parent2024-02-01-grub-upgrades: add news item (diff)
downloadgentoo-57e4ece92184a4b62630fe8e109262f89fb89c9e.tar.gz
gentoo-57e4ece92184a4b62630fe8e109262f89fb89c9e.tar.bz2
gentoo-57e4ece92184a4b62630fe8e109262f89fb89c9e.zip
Merge commit '65b494db54e9228fbb4dd0c647f9dd11998c3f4c'
Diffstat (limited to 'metadata/news')
-rw-r--r--metadata/news/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt40
1 files changed, 40 insertions, 0 deletions
diff --git a/metadata/news/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt b/metadata/news/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
new file mode 100644
index 000000000000..f7aaa72bebc7
--- /dev/null
+++ b/metadata/news/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
@@ -0,0 +1,40 @@
+Title: GRUB upgrades
+Author: Mike Gilbert <floppym@gentoo.org>
+Posted: 2024-02-01
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: sys-boot/grub
+
+When booting with GRUB, it is important that the core image and modules
+have matching versions. Usually, running grub-install is sufficient to
+ensure this.
+
+On the UEFI platform, grub-install allows the core image to be placed in
+two different locations:
+
+EFI/gentoo/grubx64.efi
+This is the location used by grub-install without options.
+
+EFI/BOOT/BOOTX64.EFI
+This is the location used by grub-install --removable.
+
+On upgrades, it is common for users to mismatch the grub-install options
+they used for the current and previous versions of grub. This will cause
+a stale core image to exist. For example:
+
+/boot/efi/EFI/BOOT/BOOTX64.EFI (grub 2.06 core image)
+/boot/efi/EFI/gentoo/grubx64.efi (grub 2.12 core image)
+/boot/grub/x86_64-pc/*.mod (grub 2.12 modules)
+
+Booting this system using BOOTX64.EFI image would likely fail due to a
+symbol mismatch between the core image and modules. [1]
+
+Re-runing grub-install both with and without the --removable option
+should ensure a working GRUB installation.
+
+However, this will clobber any BOOTX64.EFI image provded by other
+loaders. If dual-booting using another boot loader, users must take care
+not to replace BOOTX64.EFI if it is not provided by GRUB.
+
+References:
+[1] https://bugs.gentoo.org/920708