Escapes on special characters in the boot options in /etc/default/grub are not included in /boot/loader/entries after running grub2-mkconfig

Solution In Progress - Updated -

Issue

  • Special characters in GRUB_CMDLINE_LINUX in /etc/default/grub are not escaped in /boot/loader/entries files when grub2-mkconfig is run.
  • Systems which have an ampersand & in the boot options will fail to boot as a result, as grub2 cannot process &.

Environment

  • Red Hat Enterprise Linux 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content