Created
May 17, 2022 11:46
-
-
Save leonardodepaula/23e8adeee7814e00b1adb81f18ce9a17 to your computer and use it in GitHub Desktop.
Set default kernel linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List kernels | |
grubby --info=ALL | grep ^kernel | |
# Set default kernel | |
grubby --set-default="/boot/vmlinuz-4.18.0-193.1.2.el8_2.x86_64" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment