--- /usr/bin/os-prober.orig 2011-12-17 15:06:36.013281338 +1100 +++ /usr/bin/os-prober 2011-12-17 15:03:38.554156840 +1100 @@ -81,7 +81,7 @@ fi while read line; do for word in $line; do - dev="${word%%[*}" + dev="${word%%\[*}" # TODO: factor this out to something in di-utils if # it's needed elsewhere if [ -d /sys/block ] && type udevinfo >/dev/null 2>&1; then