Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mariotpc/ba6421114cccf58749599d9a64a75d52 to your computer and use it in GitHub Desktop.
Save mariotpc/ba6421114cccf58749599d9a64a75d52 to your computer and use it in GitHub Desktop.
upgrade grub.cfg to boot Linux after change the Kernel Parameters
Per the RedHat documentation:
Changes to /etc/default/grub require rebuilding the grub.cfg file as follows:
On BIOS-based machines, issue the following command as root:
~]# grub2-mkconfig -o /boot/grub2/grub.cfg
On UEFI-based machines, issue the following command as root:
~]# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment