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

2011-07-23 Thread Otavio Salvador
On Sat, Jul 23, 2011 at 04:11, yannubu...@gmail.com yannubu...@gmail.com wrote: I attached a new one and this is more verbose. Please test it. Bom dia Otavio Bom dia! :-) Well, I did a quite stupid mistake in last patch so I am attaching the fixed one. I hope it works now. -- Otavio

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

2011-07-23 Thread yannubu...@gmail.com
Opa! Output with /boot and patch: $ LANG=C sudo os-prober + . /usr/share/os-prober/common.sh + cleanup_tmpdir=false + cleanup_ro_partitions= + progname= + type mapdevfs + partition=/dev/sda1 + mpoint=/media/Vista + type=fuseblk + debug /dev/sda1 is a FUSE partition + log debug: /dev/sda1 is a

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

2011-07-23 Thread Otavio Salvador
On Sat, Jul 23, 2011 at 14:10, yannubu...@gmail.com yannubu...@gmail.com wrote: Opa! I maked a fake environment and tested this patch locally and it seems to work. Please give it a try and tell me. -- Otavio Salvador                             O.S. Systems E-mail: ota...@ossystems.com.br 

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

2011-07-23 Thread yannubu...@gmail.com
I maked a fake environment and tested this patch locally and it seems to work. Please give it a try and tell me. Sorry, in both cases (with or without /boot folder), I get this output: $ LANG=C sudo os-prober /dev/sda1:::chain /dev/sda5:Ubuntu 10.10 (10.10):Ubuntu:linux

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

2011-07-23 Thread Otavio Salvador
On Sat, Jul 23, 2011 at 15:09, yannubu...@gmail.com yannubu...@gmail.com wrote: I maked a fake environment and tested this patch locally and it seems to work. Please give it a try and tell me. Sorry, in both cases (with or without /boot folder), I get this output: $ LANG=C sudo os-prober

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

2011-07-23 Thread yannubu...@gmail.com
2011/7/23 Otavio Salvador ota...@ossystems.com.br On Sat, Jul 23, 2011 at 15:09, yannubu...@gmail.com yannubu...@gmail.com wrote: I maked a fake environment and tested this patch locally and it seems to work. Please give it a try and tell me. Sorry, in both cases (with or without

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

2011-07-23 Thread Otavio Salvador
On Sat, Jul 23, 2011 at 15:50, yannubu...@gmail.com yannubu...@gmail.com wrote: 2011/7/23 Otavio Salvador ota...@ossystems.com.br On Sat, Jul 23, 2011 at 15:09, yannubu...@gmail.com yannubu...@gmail.com wrote: I maked a fake environment and tested this patch locally and it seems to work.

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

2011-07-23 Thread yannubu...@gmail.com
Hello, Talking with Colin at #debian-boot we found some possible corner cases and then we end up doing some more changes. Please give this one a final test so I can upload it. Does NOT work ANY MORE: With /boot: $ LANG=C sudo os-prober ls: cannot access /media/Vista/Boot boot: No such file

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

2011-07-23 Thread Otavio Salvador
On Sat, Jul 23, 2011 at 16:45, yannubu...@gmail.com yannubu...@gmail.com wrote: Does NOT work ANY MORE: Now I have got it working again I think; it was a quoting issue. -- Otavio Salvador                             O.S. Systems E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br

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

2011-07-23 Thread yannubu...@gmail.com
2011/7/24 Otavio Salvador ota...@ossystems.com.br On Sat, Jul 23, 2011 at 16:45, yannubu...@gmail.com yannubu...@gmail.com wrote: Does NOT work ANY MORE: Now I have got it working again I think; it was a quoting issue. Perfect, now it works !

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

2011-07-22 Thread Otavio Salvador
On Tue, Jul 19, 2011 at 11:21, yannubu...@gmail.com yannubu...@gmail.com wrote: If the Windows partition contains a /boot/grub/core.img folder (this occurs when beginners install GRUB by mistake in the Windows partition), os-prober won't detect Windows any more. Is it possible for you to try

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

2011-07-22 Thread yannubu...@gmail.com
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

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

2011-07-22 Thread Otavio Salvador
On Fri, Jul 22, 2011 at 17:05, yannubu...@gmail.com yannubu...@gmail.com wrote: Thanks Otavio. Unfortunately, your patch does not solve the bug. Please see below the os-prober output I get in 3 configurations: Good; please revert previous patch and try this one. -- Otavio Salvador           

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

2011-07-22 Thread yannubu...@gmail.com
2nd patch does not work either: patch and boot folder: ubuntu@ubuntu:~$ LANG=C sudo os-prober ls: cannot access : No such file or directory ls: cannot access : No such file or directory ls: cannot access : No such file or directory /dev/sda5:Ubuntu 10.10 (10.10):Ubuntu:linux /dev/sda6:Ubuntu

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

2011-07-22 Thread Otavio Salvador
On Fri, Jul 22, 2011 at 18:02, yannubu...@gmail.com yannubu...@gmail.com wrote: 2nd patch does not work either: I attached a new one and this is more verbose. Please test it. -- Otavio Salvador                             O.S. Systems E-mail: ota...@ossystems.com.br 

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

2011-07-22 Thread yannubu...@gmail.com
I attached a new one and this is more verbose. Please test it. Bom dia Otavio - Output with the patch and the (empty) /boot folder : ~$ LANG=C sudo os-prober + . /usr/share/os-prober/common.sh + cleanup_tmpdir=false + cleanup_ro_partitions= + progname= + type mapdevfs +

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

2011-07-19 Thread yannubu...@gmail.com
Package: os-prober Version: 1.44ubuntu1 If the Windows partition contains a /boot/grub/core.img folder (this occurs when beginners install GRUB by mistake in the Windows partition), os-prober won't detect Windows any more. I believe this is due to the fact that there are 2 folders with similar