grub2-install gives an error due to missing module efivars.
running drakboot in chroot succeeded. but grub2-install (efibootmgr) still gives errors.
Can you describe what you were doing? Running the Classic installer on an existing installation?
CC: (none) => lewyssmith
Simple: - have mga8/9 with efi boot on disk. - Use netinstall-img - choose rescue-boot - try to reinstall bootloader (e.g. disk from one pc to another, so efi needs updated) - rescue calls /boot/grub2/install.sh - with grub2-install; both exit with !=0 status - calling grub2-install -v shows "modprobe -q efivars" which is not present, and then sth. with "no such file or directory"; both comes from efimgr module efivarfs is present, and /sys/firmware/efi is present and filled with files, also /boot/efi is present and has files.
grub2-install is called inside a chroot, so efivarfs needs to be mounted in the chroot too. Fixed in drakx-installer-rescue-1.67-1.mga9.
CC: (none) => mageia
Yeah I ran into this problem a while ago. Tried upgrading instead and it worked. Did some digging and found out that it could be related to grub-install missing the --removable flag. But it seems that you can solve it like Martin said too. https://unix.stackexchange.com/questions/693101/reinstall-grub-grub-install-warning-efi-variables-are-not-supported-on-this-s
CC: (none) => xerxes2
(In reply to Martin Whitaker from comment #4) > Fixed in drakx-installer-rescue-1.67-1.mga9. Great work - again! Closing appropriately.
Status: NEW => RESOLVEDResolution: (none) => FIXED
As noted in https://bugs.mageia.org/show_bug.cgi?id=31008#c3, efivars was removed in Linux 6.0. efivarfs is the replacement. grub2 still has support for both, trying the newer efivarfs first and falling back to efivars if that fails. This bug appears to be a duplicate of bug 31844, which I believed was fixed. And retesting in VirtualBox using the rescue system on the Mageia-9-x86_64.iso, it works. Which ISO are you using Marc?
Please ignore/hide the previous comment, which was meant for bug 33234 :-(