Warning: os-prober

Raschen

Member
Dec 9, 2021
4
0
6
45
Tell me when updating the kernel, I see a warning:
"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. done"

changed file /etc/default/grub.d/proxmox-ve.cfg

from:
GRUB_DISTRIBUTOR="Proxmox VE"
GRUB_DISABLE_OS_PROBER=true

replace:
GRUB_DISTRIBUTOR="Proxmox VE"
GRUB_DISABLE_OS_PROBER=false

Is this method correct or will it affect how proxmox works?
 
Tell me when updating the kernel, I see a warning:
"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. done"

changed file /etc/default/grub.d/proxmox-ve.cfg
I personally would recommend against that:
* `os-prober` does scan all blockdevices it finds in a system (including all LVM-LVs, potentially ZVOLS) and adds _all_ bootable disks to your grub-config - so even if this does not break things and your system still boots into Proxmox VE it will make upgrades take quite a while longer
* If I remember correctly we had quite a few reports of upgrades hanging indefinitely due to os-prober taking ages

Additionally I assume you do not have many other OS-installations directly on your hypervisor and are switching between those regularly.

I hope this helps!
 
  • Like
Reactions: Neobin and fiona
yes! os-prober is dangerous on hypervisor hosts, but it's not possible to silence that warning via the config snippets we ship.