The nixos-rebuild switch gives: `Warning: os-prober will be executed to detect other boot partitions. ` every time

full logs:

building the system configuration...
updating GRUB 2 menu...
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
lsblk: /dev/mapper/no*[0-9]: not a block device
lsblk: /dev/mapper/raid*[0-9]: not a block device
lsblk: /dev/mapper/disks*[0-9]: not a block device
stopping the following units: accounts-daemon.service
activating the configuration...
setting up /etc...
reloading user units for inari...
restarting sysinit-reactivation.target
reloading the following units: dbus.service
restarting the following units: polkit.service
starting the following units: accounts-daemon.service
the following new units were started: libvirtd.service, run-credentials-systemd\x2dtmpfiles\x2dresetup.service.mount, sysinit-reactivation.target, systemd-tmpfiles-resetup.service

What is your question? If you have boot.loader.grub.useOSProber set to true then you will get a message that os-prober is run on each nixos-rebuild switch and if you don’t want to run os-prober you can set this option to false.

1 Like

It’s just never happened before, so I thought something went wrong