标签:default int menu epo def repo org kernel boot
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum --enablerepo=elrepo-kernel install kernel-lt-devel kernel-lt -y
awk -F\‘ ‘$1=="menuentry " {print $2}‘ /etc/grub2.cfg
grub2-set-default xxxx
reboot
uname -r
标签:default int menu epo def repo org kernel boot
原文地址:https://www.cnblogs.com/peitianwang/p/13171536.html