Try: GRUB_CMDLINE_LINUX='memmap=8G\$8G'
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/448413 On Thu, Dec 21, 2023 at 5:54 PM John Groves <j...@groves.net> wrote: > I'm trying and failing to get "memmap=8G$8G" passed to the kernel on its > command line. > > I have a vague ancient recollection of needing to do "memmap=8G\\\$8G, but > it's not working now. I've tried lots of escape combinations but no luck. > > I've even put "memmap=8G!8G" in /etc/default/grub, run grub2-mkconfig, and > then used hexedit on /boot/efi/EFI/fedora/grub.cfg to change the '!' to > '$', but STILL the kernel sees the '!' > > Is this a bug or regression in grub2? I hope I'm just overlooking something > obvious. > > Please help! > > $ rpm -qa | grep grub > grubby-8.40-72.fc39.x86_64 > grub2-common-2.06-109.fc39.noarch > grub2-pc-modules-2.06-109.fc39.noarch > grub2-tools-minimal-2.06-109.fc39.x86_64 > grub2-tools-2.06-109.fc39.x86_64 > grub2-pc-2.06-109.fc39.x86_64 > > Thank you, > John Groves >