Maurice
2016-08-10 11:26:33 UTC
Having installed Mageia-5 on an EFI GPT HP Probook earlier this year,
I would now like to understand how the /EFI/mageia/grubx64.efi it
installed
works (e.g. in the event of an installation that is aborted before the
new installation's /boot directory is completed).
My $64 question is:
Does grubx64.efi depend on finding grub.cfg in /boot/grub2 in the
most recently-installed Mageia's Root directory, or does it directly show
the Grub2 menu and start whichever install is chosen from that menu?
I looked for an answer but found confusion. For example:
"If you're using the grubx64.efi file from Ubuntu, in theory it should be
looking on your Ubuntu /boot/grub directory for its support files."
"grub2-install shouldn't be used on EFI systems. The grub2-efi package
installs a prebaked grubx64.efi on the EFI System partition, which looks
for
grub.cfg on the ESP in /EFI/fedora/
- whereas the grub2-install command creates a custom grubx64.efi,
deletes
the original installed one, and looks for grub.cfg in /boot/grub2/".
Looking in the Probook's /EFI/mageia directory, the only file there is
grubx64.efi (117KiB), implying it will look for grub.cfg in the
most recently-installed /boot/grub2, as there is no grub.cfg in the
/EFI/mageia directory.
[grubx64.efi contains much coded information, but also much clear-text
'error
situation' information. I was unable to detect any Grub2 menu text.]
Could someone throw light on how the Mageia-5 grubx64.efi works, please?
I would now like to understand how the /EFI/mageia/grubx64.efi it
installed
works (e.g. in the event of an installation that is aborted before the
new installation's /boot directory is completed).
My $64 question is:
Does grubx64.efi depend on finding grub.cfg in /boot/grub2 in the
most recently-installed Mageia's Root directory, or does it directly show
the Grub2 menu and start whichever install is chosen from that menu?
I looked for an answer but found confusion. For example:
"If you're using the grubx64.efi file from Ubuntu, in theory it should be
looking on your Ubuntu /boot/grub directory for its support files."
"grub2-install shouldn't be used on EFI systems. The grub2-efi package
installs a prebaked grubx64.efi on the EFI System partition, which looks
for
grub.cfg on the ESP in /EFI/fedora/
- whereas the grub2-install command creates a custom grubx64.efi,
deletes
the original installed one, and looks for grub.cfg in /boot/grub2/".
Looking in the Probook's /EFI/mageia directory, the only file there is
grubx64.efi (117KiB), implying it will look for grub.cfg in the
most recently-installed /boot/grub2, as there is no grub.cfg in the
/EFI/mageia directory.
[grubx64.efi contains much coded information, but also much clear-text
'error
situation' information. I was unable to detect any Grub2 menu text.]
Could someone throw light on how the Mageia-5 grubx64.efi works, please?
--
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)
/\/\aurice
(Replace "nomail.afraid" by "bcs" to reply by email)