Copied from Debian Bugzilla(772901): Package: os-prober Version: 1.65 Tags: patch os-prober uses 'grep' in an unportable way, in that it assumes that the regular expression "." matches the NUL byte (all zero bits). POSIX doesn't guarantee this, and as of grep 2.21 this might not work. If os-prober assumes GNU grep the fix should be fairly straightforward; please see the attached (untested) patch. If os-prober is intended to be portable to non-GNU grep, more hacking will be needed, as POSIX says grep has undefined behavior when given binary input data. For more details about this issue please see: https://bugzilla.redhat.com/show_bug.cgi?id=1172405 https://bugzilla.redhat.com/show_bug.cgi?id=1172804 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19348 Reproducible: Always Steps to Reproduce: 1. Boot using Grub 2 Actual Results: 2. Windows 7 misidentified as Windows Vista Expected Results: Windows Partition Types should identify properly above Vista
Created attachment 405160 [details, diff] os-prober.diff The proposed patch from the Debian bug mentioned in the URL
This is an os-prober bug, yet you fail to mention this in the summary.
should be fixed since 1.66