OpenMandriva Lx uses grub2 bootloader, so grub2 commands would work.
The command to probe computer and write comprehensive grub2 menu is:
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
In most circumstances this simpler command will work:
$ sudo update-grub2
Then to install the grub2 bootloader to the drive you wish to boot from:
$ sudo grub2-install /dev/xxx
Where you replace the “xxx” with the name of the drive you want to, or were booting OMLx from, like
sda or if it is a nvme drive something like
To find how your storage devices or drives are called, user can simply open KDE Partition Manager or from Konsole run the command:
$ sudo fdisk -l
update-grub2 use the utility called ‘os-prober’ to probe the computer for other operating systems.
User can run this command independently to see if os-prober is correctly recognizing all other operating systems on users computer. Like this:
$ sudo os-prober