Bug 34541 - missed /usr/lib/grub2/i386-ieee1275/modinfo.sh file
Summary: missed /usr/lib/grub2/i386-ieee1275/modinfo.sh file
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 12:20 CEST by Giuseppe Ghibò
Modified: 2025-09-03 23:17 CEST (History)
2 users (show)

See Also:
Source RPM: grub2-2.12-10.mga10.src.rpm
CVE:
Status comment:


Attachments

Description Giuseppe Ghibò 2025-08-07 12:20:17 CEST
At the end of a plain virtualbox installation from a cauldron netinstall.iso
(and using default virtualbox config for the guest VM, with 2 CPU cores), the installer ends up with error:

An error occurred:
grub2-install failed: grub2-install: error: /usr/lib/grub2/i386-ieee1275/modinfo.sh doesn't exists. Please specify --target or --directory

Effectively that dir is missed from the grub2 installation.

I add this for now so to remind before mga10 final, to not break the opportunity to install on virtualbox.
Comment 1 Lewis Smith 2025-08-08 21:42:49 CEST
Was this a 32 or 64 bit install? If the latter, why is Grub asking for
/i386-ieee1275/ ?
Could this be an Installer error?

CC: (none) => lewyssmith

Comment 2 Giuseppe Ghibò 2025-08-08 21:51:21 CEST
64bit non EFI installation. It's not related to 32bit stuff (grub uses also /usr/lib/grub/i386-pc

IMHO it's not the installer but bu probably it's the newer grub that probes for more stuff and missed that. Configuration in VBox is made with default parameters (no particular extra devices added).

What could be instead enhanced in the installer is making the final stage a bit more "robust", so that if grub fails for some reason (like the above) something to recover is offered (even manual) rather than looping. But that's another request.
Comment 3 Giuseppe Ghibò 2025-08-08 21:52:27 CEST
(In reply to Giuseppe Ghibò from comment #2)

> 64bit non EFI installation. It's not related to 32bit stuff (grub uses also
> /usr/lib/grub/i386-pc

truncated, read as "grub uses also /usr/lib/grub/i386-pc on 64bit installations".
Comment 4 Lewis Smith 2025-08-08 22:29:57 CEST
Thanks for this clarification.
Assigning globally as different packagers do Grub2.

CC: lewyssmith => (none)
Assignee: bugsquad => pkg-bugs

Comment 5 Giuseppe Ghibò 2025-08-17 15:20:48 CEST
IMHO, what is missed, is in newer grub2, is to package ieee1275 as a new arch subpackage, beside i386-pc and others.
Stephen Germany 2025-08-18 01:33:49 CEST

CC: (none) => stephengermany

Comment 6 Frank Griffin 2025-09-03 15:52:49 CEST
This isn't limited to VBox.  It is happening on netinstall with real hardware as well.

CC: (none) => ftg

Comment 7 Giuseppe Ghibò 2025-09-03 23:17:13 CEST
This should be fixed since 6.12.44-1.mga10. Try with a newer netinstall image (you can identify by pressing F2 at boot, where there is "[F2 Advanced Help]", it should show something like:

You can choose the following kernels.
o alt0 is kernel 6.12.44-desktop4.mga10

or 6.12.44-desktop5.mga10.

Note You need to log in before you can comment on or make changes to this bug.