bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot pass a single backslash in multiboot cmdline


From: Jakub Jermář
Subject: Cannot pass a single backslash in multiboot cmdline
Date: Mon, 26 Dec 2016 15:44:12 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Hi,

I am observing a strange behavior when passing boot arguments with a
backslash to the kernel (the multiboot cmd_line via the multiboot
command in grub.cfg). I would like to pass foo\bar to the kernel, but to
no avail. I tried:

foo\bar gets passed as foobar
foo\\bar gets passed as foo\\bar
'foo\bar' gets passed as foo\\bar
"foo\bar" gets passed as foo\\bar

Note that the backslash gets doubled when I try to escape it.

I am using grub 2.02~beta2, revision
bc220962e366b1b46769ed6f9fa5be603ba58ab5.

How does one pass foo\bar so that the back slash does not get eaten or
doubled?

Thanks,
Jakub



reply via email to

[Prev in Thread] Current Thread [Next in Thread]