Skip to contentSkip to conversation

grub.cfg parser doesn't fail gracefuly on syntax error

DISCUSSION Robert Millan 2 participants 2 messages May 5, 2007 – May 7, 2007

lore
Share & tools
lore
#0 lore raw

As reported by Luca Capello in Debian BTS:

The following grub.cfg menuentry has a syntax error. However, grub won't display an error message and let you continue. Instead, it will start an infin loop, rendering the machine unbootable:

menuentry "test" { $ }

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
#1 lore raw
Quoted 7 lines · Robert Millan

As reported by Luca Capello in Debian BTS:

The following grub.cfg menuentry has a syntax error. However, grub won't display an error message and let you continue. Instead, it will start an infin loop, rendering the machine unbootable:

menuentry "test" { $ }

Yes, I know this problem. Marco seems to have no time for now, so I will look at this problem in this weekend.

Thanks,
Okuji