Why does grub2-mkconfig command not reflect configuration change in /etc/default/grub?
Issue
- Why does grub2-mkconfig command not reflect configuration change in /etc/default/grub?
-
There are multiple same parameters in /etc/default/grub. The latest parameter is only affected.
$ /cat etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=1 GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="crashkernel=512M" <--- This option is not present on boot line GRUB_DISABLE_RECOVERY="true" GRUB_CMDLINE_LINUX="audit=1" <--- This option is only one present at boot time
Environment
- Red Hat Enterprise Linux 7
- grub2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.