How to solved KERNEL PANIC CentOS 7
I have solved the problem, if you want to upgrade your CentOS kernel, you must excute following steps:
excuting yum install -y kernel or yum update -y kernel command;
excuting vi /etc/default/grub command, set GRUB_DEFAULT=0, it means that the first kernel will be default kernel;
excuting grub2-mkconfig -o /boot/grub2/grub.cfg command(CentOS 7.0 version), it aimes to generate a new kernel configuration;
reboot your system.
excuting yum install -y kernel or yum update -y kernel command;
excuting vi /etc/default/grub command, set GRUB_DEFAULT=0, it means that the first kernel will be default kernel;
excuting grub2-mkconfig -o /boot/grub2/grub.cfg command(CentOS 7.0 version), it aimes to generate a new kernel configuration;
reboot your system.
Comments
Post a Comment