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

Luca Capello luca at pca.it
Tue Oct 24 21:21:05 UTC 2006


reopen 390473
retitle 390473 grub2: menuentry stanza with additional $ or { causes boot panic
found 390473 1.95-1
thanks

Hi Robert!

NB: forwarding again to grub-devel, but setting M-F-T and R-T to the
bug, Robert (I hope you don't mind) and myself.

On Tue, 24 Oct 2006 15:29:09 +0200, Robert Millan wrote:
> Closing due to lack of response.

I'm sorry, I was quite busy in the last weeks and I never finished my
answer.
>
> On Sat, Oct 14, 2006 at 09:36:57PM +0200, Robert Millan wrote:
[something already present in the bug report]
>> According to upstream (IRC), this behaviour is consistent with GRUB2 having its
>> own variable support (and namespace..).  So you really need to use this new
>> syntax (I'll take this into account for my work on update-grub2).
>> 
>> Can we close this bug now?

While the original bug can be considered close, the boot panic
remains, as I explained in my first post:

On Sun, 01 Oct 2006 15:54:00 +0200, Luca Capello wrote:
> After a `grub-install /dev/hda` and a reboot, grub2 entered in a
> panic state at boot.  Hopefully, the panic is reproducible, even on
> qemu: create the following stanza (you can substitute $ with a
> second { ):
>
>     menuentry "test" { $ }
>
> The panic is similar to the error generated with a $ at the
> beginning of the grub.cfg file.  While in the latter case grub2 can
> continue booting, in n the former case the only way to solve it is
> to boot with a rescue CD and remove the offending characters from
> grub2.cfg.

I reopened the bug and I changed the title to reflect the situation.

BTW, I just tested with the latest grub_1.95-1, the error is still
present, thus I added the information to the BTS.

Thx, bye,
Gismo / Luca
-------------- 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/20061024/8778f648/attachment.pgp


More information about the Pkg-grub-devel mailing list