Warning: os-prober will not be executed to detect other bootable partitions

What should I do if I see this error message?

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.
Adding boot menu entry for UEFI Firmware Settings …
done
Reading package lists…
Building dependency tree…
Reading state information…

It’s not an error, but a warning that tells you that os-prober won’t be executed.

This is the reason for this:

Thanks. I thought that restarting the laptop might cause it to completely shut down.