Created
December 14, 2016 21:14
-
-
Save oko/1797aec07957c07275db65ae957c2fea to your computer and use it in GitHub Desktop.
CentOS 7 GRUB Kernel Change
This file contains hidden or 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
grep '^menuentry' /boot/grub2/grub.cfg | |
vi /etc/default/grub | |
# update GRUB_DEFAULT=<zero-indexed-menu-entry-from-grep> | |
grub2-mkconfig -o /boot/grub2/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment