os-prober doesn't detect Windows properly with EFI and MBR partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-prober (Debian) |
Fix Released
|
Unknown
|
|||
os-prober (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
Disk has regular MBR table. It has Windows 7 and Ubuntu installed on different partitions. Os-prober doesn't detect EFI partition on MBR table because "udevadm info" returns "dos" partition scheme instead of expected "msdos".
$ udevadm info /dev/sda1 | grep dos
E: ID_PART_
E: ID_PART_
$ fdisk -lu /dev/sda | grep -B1 -A1 ef
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 616447 307200 ef EFI (FAT-12/16/32)
/dev/sda2 616448 128134439 63758996 7 HPFS/NTFS/exFAT
Fixing conditions below resolves the issue:
- \( "$ID_PART_
+ \( "$ID_PART_
\( "$ID_PART_
- \( "$ID_PART_
+ \( "$ID_PART_
affects: | xorg (Ubuntu) → os-prober (Ubuntu) |
Changed in os-prober (Debian): | |
status: | Unknown → Fix Released |
cross-reported to debian bugtracker https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 817023