Created
September 24, 2018 10:29
-
-
Save iamcryptoki/cd775b71cf659866a6da4d875a02caf6 to your computer and use it in GitHub Desktop.
Set default kernel in GRUB.
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 | |
| # Open '/etc/default/grub', and set GRUB_DEFAULT to the numeric entry value for the kernel you choose as the default. | |
| GRUB_DEFAULT=0 | |
| # Re-generate GRUB configuration. | |
| $ grub2-mkconfig -o /boot/grub2/grub.cfg | |
| $ reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment