[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Thanks Otavio.
Unfortunately, your patch does not solve the bug. Please see below the os-prober output I get in 3 configurations:

1) Normal output (no /boot folder in the Windows partition) :
/dev/sda1:Windows Vista (loader):Windows:chain
/dev/sda5:Ubuntu 10.10 (10.10):Ubuntu:linux

2) Output when there is a /boot folder in the Windows partition (without patch):
ls: cannot access /media/Vista/Boot
boot: No such file or directory
/dev/sda5:Ubuntu 10.10 (10.10):Ubuntu:linux

3) Output when there is a /boot folder in the Windows partition (with your patch):
/dev/sda5:Ubuntu 10.10 (10.10):Ubuntu:linux

Remark : indeed even an empty /boot folder is enough to disturb os-prober. What this /boot folder contains does not change the result. I think the bug comes from the fact that os-prober looks inside the /boot folder but not inside the /Boot (or /BOOT) folder.

Regards








Reply to: