os-prober doesn't see Windows installations in an EFI system
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| os-prober (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
On a multiboot installation of Ubuntu Yakkety and Windows using UEFI, everything was working properly. Upon update to Zesty, os-prober was unable to locate the Windows partition and thus Grub (2.02~beta3-
I edited /usr/lib/
The script needed to be modified to properly handle these changes. I'm attaching the updated script, which works with both giving the device name and the EFI mount path, producing what I believe to be the correct output for both.
This updated prober script fixes the issue by correctly chaining to the Windows boot manager.
OS-prober also has an issue where the scripts in the "efi" directory (/usr/lib/
The expectation is that running "update-grub" would result in all available boot options being detected and accounted for as per what grub supports. Clearly that wasn't happening until the aforementioned script was fixed and placed in the right location.
Cheers!
| Changed in os-prober (Ubuntu): | |
| importance: | Undecided → High |
| status: | New → Triaged |

windows bootloader detection has improved in recent releases. thus I am expecting for this to be fixed in focal.