Mac – How to completely remove rEFInd from the Mac

macmulti-bootuninstall

I installed rEFInd to have Ubuntu on an external drive, but no luck. Now I have decided to completely remove rEFInd from my Macbook Pro.

I removed the folder /efi/, but the boot manager keeps appearing. How can I completely remove rEFInd from my Mac?

Best Answer

diskutil list | grep EFI | awk '{print $6}'

This will only output the lines of containing the string "efi" and of that line, only the 6th column, so the output is likely:

disk0s1

Now to remove refind:

sudo mkdir /Volumes/efi
sudo mount -t msdos /dev/disk0s1 /Volumes/efi
sudo rm -rfP /Volumes/efi/EFI/refind
sudo bless --setBoot --mount /
Related Question