Wiki page correction: GRUB2


I'd like to propose tiny correction for the Fedora wiki page about GRUB2 [1].

However I'm not confident enought to edit it prior to any discussions,
so that's why I'm writing here.

In the chapter "Updating GRUB 2 configuration on UEFI systems"
In the section "Install the bootloader files"
I believe, there should be an information added, that the 'grub2-efi'
package *must* match your architecture. So e.g. for x86_64, you want
the 'grub2-efi-x64' package.

By default the 'dnf install grub2-efi' will find 'grub2-efi-ia32'
package which doesn't contain the files you need for boot on x86_64
system, nor pulls the correct package as a dependency.

Also, on once of my old F28 Cinnamon system, I can see, that there are packages:
$ dnf list installed | grep grub2-efi | awk '{ print $1 }'

but I believe I only need the 'grub2-efi-x64.x86_64'.
Given that, maybe the anaconda installation should be checked to not
pull uneeded packages?

Correct me, if I'm wrong, thanks.

[1] <a href="" title=""></a>


Re: Wiki page correction: GRUB2

By Chris Murphy at 05/29/2019 - 19:43

On Wed, May 29, 2019 at 5:52 AM Michal Schorm < ... at redhat dot com> wrote:
No. You can have x86_64 CPU but the firmware is 32-bit, hence ia32
which is why there is:


The user space will still be 64-bit but the EFI binaries will be
32-bit for the rare firmware floating out there that require it. There
isn't a problem with 32-bit and 64-bit EFI binaries being located on
the same EFI system volume in EFI/fedora, the firmware figures it out
(I think by filenaming convention which is mentioned in the UEFI

My suggested change for this section:

Re: Wiki page correction: GRUB2

By Adam Williamson at 05/29/2019 - 15:28

On Wed, 2019-05-29 at 13:50 +0200, Michal Schorm wrote:
That sounds correct, yes. For background, IIRC this split was done to
allow the special case of Baytrail-like systems (which have 64-bit CPUs
and on which you can install an x86_64 OS, but whose firmwares are 32-
bit and so require a 32-bit EFI bootloader) to work. I *think* on such
systems both grub2-efi-x64 and grub2-efi-ia32 is needed, but IMBW.

Current anaconda is designed to do this - it has a check to only
install grub2-efi-ia32 on systems with a 32-bit firmware. I'm not sure
if this wasn't in place when you installed, or if it went wrong

Re: Wiki page correction: GRUB2

By Jared K. Smith at 05/29/2019 - 14:50

Be bold and just update the page... it's a wiki, so it keeps a change
history, and if someone else has a problem with what you wrote, they can
either update it or roll back the changes. You shouldn't ever feel like
you have to ask permission or have the details 100% correct before updating
something on the wiki.

Re: Wiki page correction: GRUB2

By Michal Schorm at 05/29/2019 - 15:20

I'm not looking for a permission.
I'm looking for a sanity check.

I personaly take care of several wiki pages. If that would be a
subject I understand well and I'm confident in, I'd edit right away.
I also take it as a chance, that someone may spot it's not right and
uncover some packaging issue by it.

The fact It's a wiki IMHO doesn't imply anyone *should* edit it
without being confident about it.

Re: Wiki page correction: GRUB2

By Michal Schorm at 05/29/2019 - 11:37

Also, it's IMHO worth mentioning, a package 'grub2-pc-modules' is
needed on BIOS systems in order to 'grub2-install' utility to work