8

centos 设置默认启动内核

 3 years ago
source link: http://abcdxyzk.github.io/blog/2020/05/19/centos-set-kernel/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
centos 设置默认启动内核

kk Blog —— 通用基础

date [-d @int|str] [+%s|"+%F %T"]

Use the up and down arrows to select a result. Press enter to go to the selected search result. Touch device users can use touch and swipe gestures.

centos 设置默认启动内核

2020-05-19 11:21:00

https://www.4spaces.org/centos7-change-kernel-order/

查看当前默认启动内核

grub2-editenv list

查看所有内核

cat /boot/grub2/grub.cfg | grep menuentry
menuentry 'CentOS Linux (3.10.0-693.5.2.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-a5c5c2e2-9baf-46e5-9703-ee9d6b421f66' {

设置新的启动内核

grub2-set-default 'CentOS Linux (3.10.0-693.5.2.el7.x86_64) 7 (Core)'

Posted by kk

2020-05-19 11:21:00system, centos

« gitignore 排除包含 TIME-WAIT »

Copyright © 2020 - kk - Powered by Octopress 站长统计


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK