Escapes on special characters in the boot options in /etc/default/grub are not included in /boot/loader/entries after running grub2-mkconfig
Issue
- Special characters in
GRUB_CMDLINE_LINUXin/etc/default/grubare not escaped in/boot/loader/entriesfiles whengrub2-mkconfigis run. - Systems which have an ampersand
&in the boot options will fail to boot as a result, asgrub2cannot process&.
Environment
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.