[CentOS] Fixing grub/shim issue Centos 7

Tue Aug 4 14:51:27 UTC 2020
Johnny Hughes <johnny at centos.org>

On 8/4/20 1:31 AM, lpeci wrote:
> Hi all,
> 
> 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.
> 
> El 4/8/20 a las 0:56, Nicolas Kovacs escribió:
>> Le 03/08/2020 à 19:24, david a écrit :
>>> After trying several paths, some suggested on this list, here's my
>>> results.
>> Hi,
>>
>> Just back from a hiking trip. One of my clients sent me a message that
>> his
>> CentOS server refuses to boot. So tomorrow I have to drive there to
>> figure out
>> what's going on. I guess there's a high probability it's the issue
>> discussed in
>> this thread.
>>
>> Simple question: besides a tsunami of mailing list and forum messages,
>> is there
>> some to-the-point reliable information about this mess ? As well as some
>> to-the-point reliable information about how to fix it ?
>>
>> Thanks,
>>
>> Niki

The issues should now be resolved.

If you just mount /mnt/sysimage, set an ip address and upgrade (to get
th new shim) .. then:

yum reinstall <latest-version>

Everything should just work.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20200804/33105184/attachment-0004.sig>