Re: Fixing grub/shim issue Centos 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Aug 06, 2020 at 03:57:56PM +0200, Nicolas Kovacs wrote:
> 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:

While this worked for me, it might not work for you...

My "solution" was to boot the previous kernel, which came up just fine,
yum remove kernel.xx.yy.zz
yum install kernel.xx.yy.zz

which rebuilds the initrd, and voila!

Fred
> > 
> > 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@xxxxxxxxxxxxx
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos

-- 
---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx -----------------------------
                      The eyes of the Lord are everywhere, 
                    keeping watch on the wicked and the good.
----------------------------- Proverbs 15:3 (niv) -----------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux