Delete GRUB after deleting Ubuntu from Mac Dual Boot
Solution 1
Much faster and safer solution.
Boot OSX and in the terminal run these commands:
mkdir mnt
sudo mount -t msdos /dev/disk0s1 mnt
You will see a new drive "EFI", open this drive and open the folder "EFI". Inside you will have the folders "APPLE" and "UBUNTU".
Just delete the "UBUNTU".
Restart and enjoy!
Solution 2
It seems you have installed grub to the MBR, which is emulating a legacy boot and causing the slow boot times. The only way I found to remove grub completely on my mbp 5,5 was to boot the recovery partition (hold alt at boot) then do a complete reinstall of OSX from there. Remember to erase and reformat the entire disk, as this will generate a new MBR.
If you don't have a recovery partition then boot into OSX, then create a recovery disk/usb using Apple's utility found here.
If you do not want to reinstall your system you can change the bootloader to refind, which can be found here. This should get your mac booting in EFI mode once more.
Good Luck.
Related videos on Youtube
user254092
Updated on September 18, 2022Comments
-
user254092 over 1 year
My question is a bot specific. I installed Ubuntu 12.04 on my MacMini (Mid 2010) and deleted it after some problems. I resized my Mac Partition so that there was no Ubuntu Partition anymore. But it seems, that I installed GRUB in a different section. If I am starting my Mac I am getting in a GRUB menu, there I am typing "exit" and my Mac is booting for about 5 minutes (very slow!), but later its working fine. But I woud like to deinstall GRUB now. Some people say its dangerous... Is there a safe way? Thanks!
-
jeet.chanchawat about 7 yearsHow do I remove EFI ? Will it automatically get removed on restart ? I am a bit afraid of deleting ubuntu folder. Is it really safe to delete it ?
-
jeet.chanchawat about 7 yearsIt worked like a charm. Many thanks :) and yes the EFI also gets removed automatically.
-
dortzur almost 7 yearsYou're not the hero I deserved, but the hero I needed. Thank you!
-
Tejas Sherdiwala over 6 yearsI deleted the Ubuntu Folder from EFT and it now just keeps rebooting after the osX loader come up half way. Any way to fix it.
-
Choylton B. Higginbottom over 6 years@Deutschland why 'msdos'?
-
juanitogan over 4 yearsJust an FYI to others, I found "APPLE", "BOOT", and "ubuntu" after a Mint 19.2 install. Judging by the dates on the folders (BOOT and ubuntu having the same date) I decided to delete both BOOT and ubuntu. This worked. I then tried various Ubuntu 16 and 18 images on this mid-2010 Mini and nothing worked, so I went back to Mint... happily.