There is a patch in ubuntu addressing this. It tries to unmount repeatedly. I don't know how well that can work. Can't a mounted filesystem be prevented from unmounting at all due to the desktop's file manager/etc?
http://patches.ubuntu.com/o/os-prober/os-prober_1.23ubuntu1.patch -- see shy jo
signature.asc
Description: Digital signature