macOS: Getting Rid of the Windows EFI Boot Entry

Windows on a Mac and the EFI Boot Entry
If you removed your Windows installation manually from your Mac, without using Boot Camp Assistant, there's a bit more work you'll need to do to remove its EFI Boot entry (Image Credit: Digital Trends)

Being able to install and run Windows on your Mac can be very useful. Boot Camp Assistant makes this easy, but sometimes you might forget that the utility can also be used to delete your Windows installation. If you’ve manually deleted your Windows partition within macOS, you’re probably noticing that something called EFI Boot still shows up in your Mac’s boot manager. We don’t need that anymore, so let’s get rid of it. This procedure should work with all versions of macOS.

Proceed With Caution – This Procedure Can Render Your Mac Inoperable If You Aren’t Careful

Finding the EFI Partition

In order to delete the EFI Boot entry when you didn’t use Boot Camp Assistant to delete your Windows installation, you have to do some work in the Terminal. This procedure isn’t for the faint at heart, so be careful that you type everything properly.

Don’t miss the best of The Mac Observer

Set us as a preferred source and our Apple reporting ranks higher in your Google Search results and Discover feed — one tap, no account changes.

Or get it by email

First, you’ll need to locate the EFI partition, which is where your Mac stores information about what operating systems can be booted from your Mac. In the Terminal, type this command:

diskutil list

You’re looking for a partition on your main hard drive called EFI.

Finding the EFI Boot partition
As you can see, my EFI Boot partition is located on /dev/disk0s1

Once you find it, enter these commands one at a time:

sudo mkdir /Volumes/EFI
sudo mount -t msdos /dev/disk0s1 /Volumes/EFI

Replace /dev/disk0s1 with the correct partition you located using diskutil.

Deleting the Windows EFI Boot Entry

Once that’s done, you’ll need to navigate to the correct folder. Again in Terminal, type:

cd /Volumes/EFI/EFI

This will put you in the directory where your Mac stores information about what operating systems you have installed. You will likely see a folder called Microsoft. In my case, I also have folders called Ubuntu and refind, but I’m leaving those alone.

Delete the Windows EFI Boot entry by typing this into the Terminal:

rm -rf Microsoft

That’s it. When you restart your Mac, you shouldn’t get the extra EFI Boot entry any longer.

Discussion

13 comments
Newest first
Join the discussionCommenting as a guest — your email is never published · Log in

Protected by Akismet — be kind, stay on topic.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  1. Scensory Subscriber 6 years ago

    Sort of off topic, but could this way of mounting the EFI also be used to somehow change the boot loader icon for Windows (boot camp)? I know you can typically place a .VolumeIcon.icns file in the root of the bootable directory so I’m wondering if this would work. Trying to get rid of the plain standard hard drive icon used by macOS.

    Reply
  2. HowardBrazee Subscriber 7 years ago

    I tried it, but it didn’t get rid of my phantom Windows boot option. I tried again, deleting and recreating the directories. This time I got
    /volumes/EFI/EFI > sudo mount -t msdos /dev/disk7s1 /Volumes/EFI
    mount_msdos: /dev/disk7s1: Resource busy
    /volumes/EFI/EFI > cd ..
    /volumes/EFI > ls
    EFI System Volume Information
    /volumes/EFI > cd EFI
    /volumes/EFI/EFI > ls
    /volumes/EFI/EFI >

    I had Parallels for years, then Fusion, and think I still had Fusion with this machine, but never booted to either one.

    Reply
    1. HowardBrazee Subscriber 7 years ago

      I discovered one of my memory cards is the problem, with it plugged in, the Startup Manager saw Windows, with it unplugged, it didn’t.

      Reply
  3. Reginald Oswald Subscriber 8 years ago

    After
    sudo mount -t msdos /dev/disk2 /Volumes/EFI
    I get
    mount_msdos: Unsupported sector size (190)

    Help?

    Reply
  4. Florent Tropia Subscriber 8 years ago

    Following the wild fusion of the partition bootcamp (via disk utility) your solution worked, thank you very much !

    Reply
  5. Mitruț Găvozdea Subscriber 9 years ago

    Hi there! I got the same problem here. After I type the command sudo mkdir /Volumes/EFI’ it requires an password…

    Reply
  6. luisramos Subscriber 9 years ago

    Didn’t work for me, the Windows entry is still there and I’m unable to install another Windows. Any idea?
    Thanks!

    Reply
    1. luisramos Subscriber 9 years ago

      There’s no Windows folder on Volumes/EFI but Windows is still appearing as a option on boot loader.

      Reply
      1. Patrick Kantorski Subscriber 9 years ago

        I’m having the same issue myself.. I removed the windows entry in /Volumes/EFI but i’m still getting an EFI boot partition on the startup when holding down option.

        Maybe we should try running a windows 7 disk and then remove the partition from the windows 7 installer? EFI boot no longer tries to run Windows startup, it just boots to a black screen when selected.

        Any solutions? Anyone? I even reformatted my hard drive and restored from a time machine backup and EFI boot showed up again. I’m about to bring my computer to the Apple store for once if I can’t resolve this.. But yeah, Jeff, Barry, Luis, any solutions?

      2. luisramos Subscriber 9 years ago

        Hey Patrick, you’re having the exactly the same problem I’m having, it boots to a black screen. I was able to install Windows 10 (without sound unfortunately) by creating the partition o Disk Utility and then formatting it using the windows install partition creator.
        But now I have three entries on my boot loader, two for Windows and one for Sierra.
        Since I couldn’t remove the first Windows entry, I could only install Windows on EFI mode, which cause, in my case (MacBook Pro 2011), to have no sound on Windows.

      3. Patrick Kantorski Subscriber 9 years ago

        I got my problems sorted out. Ran into a bunch of errors trying to use an external USB disc drive to install Windows. I decided to reformat my SSD and reinstall macOS, then install Windows 7 using bootcamp and my internal disc drive. After I was able upgrade to Windows 10 successfully. No more EFI boot entry or weird issues with WIndows not booting.

    2. Mitruț Găvozdea Subscriber 9 years ago

      Did it worked?

      Reply
  7. Barry Ward Subscriber 9 years ago

    THANK YOU!!!! Heck, I thought I’d need to format my Mac and start all over again. This worked. Yes!!

    Reply