#1000832 Mention how to turn off GRUB_DISABLE_OS_PROBER warnings

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
積丹尼 Dan Jacobson
Date:
2022-03-11 01:45:03 UTC
Severity:
normal
#1000832#5
Date:
2021-11-29 21:08:40 UTC
From:
To:
We see two warnings:

Setting up linux-image-5.15.0-2-amd64 (5.15.5-1) ...
...
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.

Setting up grub-pc (2.06-2) ...
...
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.

We look at
(info "(grub) Simple configuration")
and read about GRUB_DISABLE_OS_PROBER.

But nowhere is it mentioned how to turn off those two warnings.

No, we don't want to turn on the prober. We just want to turn off the warnings.

#1000832#10
Date:
2021-11-29 21:28:04 UTC
From:
To:
OK, maybe next release, the maintainer will remove the run-time warning,
as we also see there is already a NEWS item.
r> --- News for grub2 (grub2-common grub-pc grub-pc-bin grub-common) ---
r> grub2 (2.06-1) UNRELEASED; urgency=medium

r>   * Boot menu entries for other operating systems are no longer generated by
r>     default.  To re-enable this, set GRUB_DISABLE_OS_PROBER=false in
r>     /etc/default/grub.

r>  -- Colin Watson <cjwatson@debian.org>  Wed, 18 Aug 2021 13:03:23 +0100

#1000832#15
Date:
2022-01-18 11:38:08 UTC
From:
To:
IMHO the warning should be suppressed if the value is set (with either
value). I had/have:

GRUB_DISABLE_OS_PROBER=true

in my /etc/default/grub and I still see the warning, despite the fact
that I intentionally always disabled osprober.

#1000832#20
Date:
2022-03-11 01:38:05 UTC
From:
To:
Hi,

I also get this warning… on a system that DOES NOT EVEN HAVE os-prober
INSTALLED IN THE FIRST PLACE.

This is *highly* misleading and irritating.

bye,
//mirabilos