I recently tried a dual-boot configuration with my iMac 27" with both macOS and Ubuntu and after a short while the boot system got messed up. Couldn't fix it.
I read this is also an experience many Windows users have had when setting up dual booting systems with Linux.
At this point I think it's generally a bad idea to setup a dual-boot system with Linux, better to use it exclusively.