In fact I believe the problem is that os-prober is trying to use the 'which' tool, which is not available in d-i.
In fact I believe the problem is that os-prober is trying to use the 'which' tool, which is not available in d-i.