Centos kernel update

Kernel update operations make up the back. Temporarily remove the extra kernel operating record

 

Delete unnecessary unloading kernel

1. System startup, choose a kernel into the system you want to keep, view the current version of the kernel by uname -a command to prevent accidental deletion

2. Use the rpm -qa | grep kernei command to view the currently installed kernel.

3. Use yum -y remove xxxx command to remove the need to uninstall the kernel, remember not to unload the kernel is being used

4. After unloading is completed, using grub2-mkconfig -o /boot/grub2/grub.cfg recompile command bootable floppy

5. init 6 command to restart the system.

Guess you like

Origin www.cnblogs.com/alusss/p/12113152.html