Skip to content

Instantly share code, notes, and snippets.

@oko
Created December 14, 2016 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oko/1797aec07957c07275db65ae957c2fea to your computer and use it in GitHub Desktop.
Save oko/1797aec07957c07275db65ae957c2fea to your computer and use it in GitHub Desktop.
CentOS 7 GRUB Kernel Change
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