[CentOS] Fixing grub/shim issue Centos 7

Wed Aug 5 14:41:08 UTC 2020
Johnny Hughes <johnny at centos.org>

On 8/4/20 10:45 AM, ja wrote:
> On Tue, 2020-08-04 at 10:36 -0500, Chris Adams wrote:
>> Once upon a time, Johnny Hughes <johnny at centos.org> said:
>>> 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>
>>
>> I'm curious - why does the kernel need to be reinstalled?  The shim-x64
>> package installs its files directly to the EFI partition where they are
>> needed.
>>
> 
> +1
> 

That is the easiest way for the initrd to be rebuilt .. which is what
created the unbootable issue in the first place.  At least is some
circumstances.

You can also regenerate your initrd manually after installing the shim.

This is  IF  you are already in a failed boot condition from the bad
install on Friday.

If you are doing the upgrade/install now from a bootable system, all you
need to do is a normal update.

-------------- 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/20200805/1315ed9f/attachment-0005.sig>