In many cases are global config files, and local config files.
I had some issues with ubuntu and decided to replace it with pop os. As the user able to use both the platforms according to need. To make Ubuntu and its derivatives boot again, you need to reinstall (repair/restore) Grub using a bootable Ubuntu/LinuxMint CD or USB. Asking for help, clarification, or responding to other answers.