Hi Roman, It's grub2-mkconfig, not os-prober, will execute the scripts in /etc/grub.d if can be executed. You should avoid putting (backup) scripts in it, or you have to remove it's execution bit. chmod -x /etc/grub.d/your_backup_script