os-prober does not detect Windows if there is a /boot folder in the Windows partition

Bug #796531 reported by YannUbuntu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-prober
Fix Released
Unknown
os-prober (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: grub2

If the Windows partition contains a /boot/grub/core.img folder (due to a previous installation of GRUB, mistaken or not ), os-prober won't detect Windows any more.

I believe this is due to the fact that there are 2 folders with similar names ("/Boot" and "/boot"), so os-prober just sees the /boot folder instead of the /Boot or /BOOT folder coming with Windows)

Bug confirmed on GRUB 1.98.

( bug reports in French: http://forum.ubuntu-fr.org/viewtopic.php?id=535491 and http://forum.ubuntu-fr.org/viewtopic.php?pid=3857862#p3857862 )

Tags: udd-find
affects: grub2 (Ubuntu) → os-prober (Ubuntu)
Revision history for this message
Brian Murray (brian-murray) wrote :

os-prober (1.48) unstable; urgency=low

  [ Colin Watson ]
  * Depend on grub-mount-udeb (see changelog for 1.45).
  * item_in_dir: return 1 immediately if second argument is not a directory
    (thanks, Daniel Richard G.; LP: #798447).

  [ Otavio Salvador ]
  * add MeeGo detection support; thanks to Chengwei Yang
    <email address hidden> for the patch.
  * Fix Windows detection when there are more then one boot directories
    (e.g boot and Boot). Closes: #634649.

 -- Otavio Salvador <email address hidden> Sat, 23 Jul 2011 17:46:13 +0200

Changed in os-prober (Ubuntu):
status: New → Fix Released
tags: added: udd-find
Changed in os-prober:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.