[SOLVED] Stuck with GRUB promp after install

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Stuck with GRUB promp after install

Postby egabo » Apr 9th, '22, 01:07

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?
Last edited by egabo on Apr 9th, '22, 20:30, edited 1 time in total.
egabo
 
Posts: 12
Joined: Apr 6th, '22, 01:04
Location: Quebec, Canada

Re: Stuck with GRUB promp after install

Postby morgano » Apr 9th, '22, 12:02

Glad you solved it.

Was this a fresh install?

Did you boot the installer in EFI mode?
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1491
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Stuck with GRUB promp after install

Postby egabo » Apr 9th, '22, 20:28

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.
egabo
 
Posts: 12
Joined: Apr 6th, '22, 01:04
Location: Quebec, Canada

Re: [SOLVED] Stuck with GRUB promp after install

Postby morgano » Apr 10th, '22, 11:25

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
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1491
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron