Bug#390473: grub2: menuentry stanza doesn't accept $ { } in variable substitutions

Luca Capello luca at pca.it
Fri Oct 6 10:32:08 UTC 2006


Hello!

On Tue, 03 Oct 2006 12:46:14 +0200, Luca Capello wrote:
> I should note that thanks to the help of #hurd and #grub of Freenode
> (mostly marco_g ;-) ), the problem is solved escaping the "bad"
> characters within single quotes.

As Javier-Elias Vasquez-Vivas noted on debian-hurd at l.d.o [1] that the
solution provided here wasn't clear, I'm reporting the whole menuentry
stanza which works with grub2:
=====
menuentry "Debian GNU/Hurd" {
	set root=(hd0,9)
	multiboot /boot/gnumach.gz root=device:hd0s10
	module /hurd/ext2fs.static \
	       --multiboot-command-line='${kernel-command-line}' \
	       --host-priv-port='${host-port}' \
	       --device-master-port='${device-port}' \
	       --exec-server-task='${exec-task}' \
	       -T typed '${root}' '$(task-create)' '$(task-resume)'
	module /lib/ld.so.1 /hurd/exec '$(exec-task=task-create)'
}
=====

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://lists.debian.org/debian-hurd/2006/10/msg00012.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20061006/805a32a7/attachment.pgp


More information about the Pkg-grub-devel mailing list