MacOS – MacBook Pro stuck on GRUB minimal Bash at startup

bashbootmacosterminalunix

I had a dual boot Linux Mint 19 and macOS on my MacBookPro11,2. Since the CPU was overheating with Linux, I decided today to delete the Linux partition.
Little problem, when I start my MacBook Pro now, I just have this menu on startup:

"GNU Grub version 2.02 – Minimal BASH-Like line editing is supported
grub>"

If I type ls, this is what I get:

(hd0) (hd1) (hd1,gpt2) (hd1,gpt1).

What could I do to boot into macOS?

Output from diskutil list disk0.

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2: FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF               228.8 GB   disk0s2

Best Answer

Use Startup Manager

When you use Startup Manager to select a startup disk, your Mac starts up from that disk once, then returns to using the disk selected in Startup Disk preferences.

  1. Press and hold the option key immediately after turning on or restarting your Mac.
  2. Release the Option key when you see the Startup Manager window.

    If your Mac is protected by a firmware password, you can release the key when you're asked to enter the password.

  3. Select your startup disk, then click the arrow under its icon, or press Return.

    If you press and hold the control key during this step, your selection is saved in Startup Disk preferences, so it persists until you change it.

If your Mac is using OS X Lion 10.7.3 or later, you can also use this method to start up from your Time Machine backup disk. Startup Manager identifies your Time Machine backup as ”EFI Boot.”

References
The above answer was copied from "How to select a different startup disk", https://support.apple.com/en-us/HT202796, January 29, 2019.