Not sure where I make mistake but I can't escape $
correctly in /etc/default/grub
. I'm on Ubuntu MATE 18.04. This is what I do:
In console I edit confid by calling
sudo mcedit /etc/default/grub
I add memmap
parameter so that string look like this
GRUB_CMDLINE_LINUX_DEFAULT="quiet memmap=3M\$11992M"
And follow this by invoking sudo update-grub
. When I restart my system it hangs on boot. Going into grub settings editor from boot menu shows me linux param string that looks like
quiet memmap=3M$11992M
Note lack of backslash. If I press F10 to boot it hangs again. So I restart again and edit in boot editor this string to
quiet memmap=3M\$11992M
and then after pressing F10 it boots. So it almost feels like settings file gets unescaped twice.
What am I missing ?