Steps to reproduce:
* Clean pc
* Install Windows 8.1, let it use the entire disk
* Dual boot installation Ubuntu 15.04.
* Verify that that Grub shows Windows 8 when booting up
* Verify that you can boot into Windows from the grub menu
* Verify that you can boot into Ubuntu from the grub menu
* Verify that os-prober detects "Windows 8 (loader)" on sda1
* Upgrade Windows 8.1 to Windows 10
* (Additional steps may be required to restore grub after Windows upgrade)
* Verify that you can boot into Windows 10 from the grub menu
* Verify that you can boot into Ubuntu from the grub menu
* Run os-prober
Steps to reproduce:
* Clean pc
* Install Windows 8.1, let it use the entire disk
* Dual boot installation Ubuntu 15.04.
* Verify that that Grub shows Windows 8 when booting up
* Verify that you can boot into Windows from the grub menu
* Verify that you can boot into Ubuntu from the grub menu
* Verify that os-prober detects "Windows 8 (loader)" on sda1
* Upgrade Windows 8.1 to Windows 10
* (Additional steps may be required to restore grub after Windows upgrade)
* Verify that you can boot into Windows 10 from the grub menu
* Verify that you can boot into Ubuntu from the grub menu
* Run os-prober
Expected result: :Windows: chain
/dev/sda1:Windows 10 (loader)
Actual result: :Windows: chain
/dev/sda1:Windows 8 (loader)
Ubuntu 15.04
os-prober 1.63ubuntu1