OMV Lx3 ripristino bootloader [risolto]

you have to specify where (on which disk)

for me it’s the first disk so I do grub2-install /dev/sda (no partition just the disk)

ex:

update-grub2

Création du fichier de configuration GRUB…
Thème trouvé : /boot/grub2/themes/OpenMandriva/theme.txt
Arrière-plan trouvé : /boot/grub2/themes/OpenMandriva/terminal_background.png
Image Linux trouvée : /boot/vmlinuz-4.6.0-desktop-1omv
Image mémoire initiale trouvée : /boot/7809278defc0489c83d5e9398413a637/4.6.0-desktop-1omv/initrd
Image Linux trouvée : /boot/vmlinuz-4.5.4-desktop-1omv
Image mémoire initiale trouvée : /boot/7809278defc0489c83d5e9398413a637/4.5.4-desktop-1omv/initrd
Image Linux trouvée : /boot/vmlinuz-4.5.3-desktop-1omv
Image mémoire initiale trouvée : /boot/7809278defc0489c83d5e9398413a637/4.5.3-desktop-1omv/initrd
Image Linux trouvée : /boot/vmlinuz-4.5.2-desktop-11omv
Image mémoire initiale trouvée : /boot/7809278defc0489c83d5e9398413a637/4.5.2-desktop-11omv/initrd
Image Linux trouvée : /boot/vmlinuz-4.5.1-desktop-10omv
Image mémoire initiale trouvée : /boot/7809278defc0489c83d5e9398413a637/4.5.1-desktop-10omv/initrd
Found memtest image: /boot/elf-memtest86+
OpenMandriva Lx 2014.0 (2014.0) trouvé sur /dev/sda2
fait

and

LC_ALL=C grub2-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.

(LC_ALL=C is to have the command in english, don’t write it, just grub2-install dev/the_disk_where_you_want_install)