Hi there!
I have just installed Lubuntu 24.04.1 LTS (Noble Numbat) on my HP8440p
alongside Void, Slackware 15.0 and an older install of the same version of
Lubuntu.
Grub was installed through a chroot of the newer Lubuntu, from Lubuntus live
usb.
os-prober is enabled in /etc/default/grub (below) and I did run
upgrade-grub
grub.cfg has entries for void, but no entries for Slackware and the older
lubuntu (sda1), which does not surprise me in the case of Slackware as this has
happened with Slackware under Grub installed by other distros in other machines
too.
But when I start the machine Void and the lubuntu in sda1, and of course
Slackware do not appear in the grub menu.