This bug is still present in 22.10. I wasn't using OS_Prober anyway, so I added GRUB_DISABLE_OS_PROBER=true to /etc/defaults/grub
If Ubuntu wants to keep this behavior to protect users accidentally hiding their boot menus, perhaps they could add a line to the output of update-grub, indicating what OS_Prober has done?
As it is now, this "feature" is not documented, and the behavior is unexpected if you are trying to hide the Grub menu, for instance on a single-boot system.
This bug is still present in 22.10. I wasn't using OS_Prober anyway, so I added GRUB_DISABLE_ OS_PROBER= true to /etc/defaults/grub
If Ubuntu wants to keep this behavior to protect users accidentally hiding their boot menus, perhaps they could add a line to the output of update-grub, indicating what OS_Prober has done?
As it is now, this "feature" is not documented, and the behavior is unexpected if you are trying to hide the Grub menu, for instance on a single-boot system.