Black screen after installing rEFInd in Ubuntu on Mac Mini
I created a partition on my Mac Mini and installed Ubuntu to it. The installation worked, but it would automatically boot into Ubuntu whenever I turn on the computer, so I installed rEFInd using the PPA in Ubuntu. I turned the computer off, and when I turned it back on, it just showed a black screen. It did say there was a system problem or something like that when I was turning it off, but I didn't think much of it and I just ignored it. I've tried the Mac startup key combinations, but none of them seem to work. What I should I do to fix my problem?
Mac mini, macOS 10.14