[Bug 1498168] [NEW] update-grub does not detect Windows 10
Launchpad Bug Tracker
1498168 at bugs.launchpad.net
Tue Sep 29 11:55:04 UTC 2015
You have been subscribed to a public bug:
Running Linux Mint 17.2
update-grub uses os-prober to detect Windows versions but currently
detects Windows 10 as Windows Recovery Environment . The patch below
fixes this.
Patch for /usr/lib/os-probes/mounted/20microsoft:
--- ./20microsoft 2015/09/21 19:22:31 1.1
+++ ./20microsoft 2015/09/21 19:38:21
@@ -31,7 +31,9 @@
for boot in $(item_in_dir boot "$2"); do
bcd=$(item_in_dir bcd "$2/$boot")
if [ -n "$bcd" ]; then
- if grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
+ if grep -qs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then
+ long="Windows 10 (loader)"
+ elif grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
long="Windows 8 (loader)"
elif grep -qs "W.i.n.d.o.w.s. .7" "$2/$boot/$bcd"; then
long="Windows 7 (loader)"
** Affects: os-prober (Ubuntu)
Importance: Undecided
Status: New
** Affects: os-prober
Importance: Undecided
Status: New
--
update-grub does not detect Windows 10
https://bugs.launchpad.net/bugs/1498168
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to os-prober in Ubuntu.
More information about the foundations-bugs
mailing list