public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] data/gentoo-news:master commit in: 2024-02-01-grub-upgrades/
@ 2024-02-06  0:03 Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2024-02-06  0:03 UTC (permalink / raw
  To: gentoo-commits

commit:     65b494db54e9228fbb4dd0c647f9dd11998c3f4c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 16:23:22 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 00:01:37 2024 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=65b494db

2024-02-01-grub-upgrades: add news item

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../2024-02-01-grub-upgrades.en.txt                | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt b/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
new file mode 100644
index 0000000..f7aaa72
--- /dev/null
+++ b/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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2024-02-01-grub-upgrades/
@ 2024-02-06 19:27 Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2024-02-06 19:27 UTC (permalink / raw
  To: gentoo-commits

commit:     e0e93c981baef4a697dac91e8a9efed0a4a204b5
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 19:26:29 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 19:26:29 2024 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=e0e93c98

2024-02-01-grub-upgrades: x86_64-pc -> x86_64-efi

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt b/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
index f7aaa72..ddcc224 100644
--- a/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
+++ b/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
@@ -1,7 +1,7 @@
 Title: GRUB upgrades
 Author: Mike Gilbert <floppym@gentoo.org>
 Posted: 2024-02-01
-Revision: 1
+Revision: 2
 News-Item-Format: 2.0
 Display-If-Installed: sys-boot/grub
 
@@ -24,7 +24,7 @@ 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)
+/boot/grub/x86_64-efi/*.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]


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2024-02-01-grub-upgrades/
@ 2024-02-06 19:30 Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2024-02-06 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     6ad32a60e7c1ddb580c3e9d564a594a62583f046
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 19:29:45 2024 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 19:29:45 2024 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=6ad32a60

2024-02-01-grub-upgrades: fix typo

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt b/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
index ddcc224..dc122c1 100644
--- a/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
+++ b/2024-02-01-grub-upgrades/2024-02-01-grub-upgrades.en.txt
@@ -32,7 +32,7 @@ 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
+However, this will clobber any BOOTX64.EFI image provided 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.
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-06 19:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 19:30 [gentoo-commits] data/gentoo-news:master commit in: 2024-02-01-grub-upgrades/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2024-02-06 19:27 Mike Gilbert
2024-02-06  0:03 Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox