[CentOS] Fixing grub/shim issue Centos 7

Thu Aug 6 13:57:56 UTC 2020
Nicolas Kovacs <info at microlinux.fr>

Le 04/08/2020 à 08:31, lpeci a écrit :
> I had the same problem with my UEFI bios machine and I fixed it so for Centos 7:
> 
> 1) Boot from an rescue linux usb
> 
> 2) When the rescue system is running:
> 
>     2.1) #chroot /mnt/sysimage
> 
> 3) Config network:
> 
>     3.1) # ip addr add X.X.X.X/X dev X
> 
>     3.2) # ip route add default via X.X.X.X    <--- default router
> 
> 4) And finally:
> 
>     #yum downgrade shim\* grub2\* mokutil
> 
>     #exit
> 
>     #reboot
> 
> I hope you can fix it with these steps.

Thanks for the detailed suggestion.

Unfortunately I couldn't recover the installation, and I had to redo everything
from scratch, which cost me the first two days of my holidays.

One thought regularly kept crossing my mind:

"How on earth could this have passed Q & A ?"

:o)

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12