It looks it would be enough to enclose "set -- $line" between "set -f" and "set +f" to prevent wildcard expansion and solve this problem.
The patch below seems to work for me, and produced a correct menuentry in grub.cfg: menuentry "* Lenny2 Debian 5.0.5, 2.6.26-2-amd64 on /dev/disk/by-label/root (on /dev/sdb2)" { # diff -u /usr/lib/linux-boot-probes/mounted/40grub.orig /usr/lib/linux-boot-probes/mounted/40grub --- /usr/lib/linux-boot-probes/mounted/40grub.orig 2010-02-11 21:02:27.000000000 +0100 +++ /usr/lib/linux-boot-probes/mounted/40grub 2011-05-01 21:59:42.000000000 +0200 @@ -36,7 +36,9 @@ while read line; do #debug "parsing: $line" + set -f set -- $line + set +f case "$1" in title) entry_result -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org