Page 1 of 1

[SOLVED] Stuck with GRUB promp after install

PostPosted: Apr 9th, '22, 01:07
by egabo
Hello,

I ran into this issue when I installed Mageia 8 64-bits version, boot process stops and shows this:

error: file '/grub2/x86_64-efi/normal.mod' not found.
grub rescue>

After checking on my partition where I did the install, I saw that the directory /boot/grub2/x86_64-efi was indeed missing. So I tried to do the install with the Live version instead to no avail. Here's how I solved it:
- booted in recue mode using my Mageia 5 install DVD
- mounted my Mageia 8 partition (/dev/sda7)
- mounted my backup copy of Mageia 5 (/dev/sdb2) -- yeah, I tend to do a full backup before messing around ;)
- copied the missing directory from /dev/sdb2 to /dev/sda7
- rebooted and voilĂ !

As soon as I got access to KDE, I found out that the package "grub2-efi x86_64", which contains that directory along with the files, had not been installed. From that point, I deleted the one I had copied from my backup and proceeded to install the package. All is well that ends well I guess.

Have any of you run into this? Should I write a bug report for this?

Re: Stuck with GRUB promp after install

PostPosted: Apr 9th, '22, 12:02
by morgano
Glad you solved it.

Was this a fresh install?

Did you boot the installer in EFI mode?

Re: Stuck with GRUB promp after install

PostPosted: Apr 9th, '22, 20:28
by egabo
Yes it was a fresh install.

I rebooted the installer and found out that it was not in EFI mode, due to CSM compatibility mode being enabled in the BIOS. So basically, I am the cause of that whole situation.

I will mark this as solved, and hopefully this topic will be useful to some poor soul like me.

Re: [SOLVED] Stuck with GRUB promp after install

PostPosted: Apr 10th, '22, 11:25
by morgano
Great then :)

Yes automatics and compatibilities are good together to screw up things ;) (Says me who repair old industrial automation systems.)

Useful links on this subject:

https://wiki.mageia.org/en/Installing_o ... I_firmware

https://doc.mageia.org/installer/8/en/c ... aller.html

https://wiki.mageia.org/en/About_EFI_UEFI