解决因升级Centos导致引导失败
(2022-03-25 12:49:27)[root@localhost ~]#
grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file …
Found linux image: /boot/vmlinuz-3.10.0-957.10.1.el7.x86_64
Found initrd image:
/boot/initramfs-3.10.0-957.10.1.el7.x86_64.img
Found linux image: /boot/vmlinuz-3.10.0-957.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-957.el7.x86_64.img
Found linux image:
/boot/vmlinuz-0-rescue-f968ef350cd04cd1b19a7091
Found initrd image:
/boot/initramfs-0-rescue-f968ef350cd04cd1b19a7091
done
[root@localhost ~]# rebootit
重启完成后查看内核信息:
[root@localhost ~]# uname -a