Bug#560415: grub-common: /etc/grub.d/30_os-prober detects and creates entries for an external backup disk!

Felix Zielcke fzielcke at z-51.de
Fri Dec 11 09:28:06 UTC 2009


Am Freitag, den 11.12.2009, 00:34 +0100 schrieb Francesco Poli (t1000):

> Well, IMHO /etc/grub.d/30_os-prober is being overzealous here: it even
> wants to create entries for a backup disk...
> 
> I don't know if it can become smart enough to distinguish between
> backup
> partitions and other actual OSes.

Colin Watson already said some sort of blacklists would be good. But I
don't know now if he meant for os-prober or for our 30_os-prober.
So for now I keep that report with us instead of reassigning to
os-prober

> Anyway, is it possible to disable one device or, at least, to disable
> 30_os-prober entirely?
> I cannot find the Right Way™ to do so.

You can just purge os-prober. We only recommend it and don't depend on
it.
As alternative or maybe just do both if you don't need os-prober at all,
set GRUB_DISABLE_OS_PROBER=true in /etc/default/grub
We already have somewhere a report to document all /etc/default/grub
variables.

-- 
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer






More information about the Pkg-grub-devel mailing list