Skip to main content
added 90 characters in body
Source Link
lx07
  • 3.1k
  • 1
  • 15
  • 28

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in yourthe EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

While it is acceptable (according to UEFI specifications) to have several EFI partitions both Apple and Microsoft expect there to be only one.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

To remove the straggling MS files first delete any Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in your EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

To remove the straggling MS files first delete any Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

The Microsoft bootloader program bootmgfw.efi is found in the EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

While it is acceptable (according to UEFI specifications) to have several EFI partitions both Apple and Microsoft expect there to be only one.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

To remove the straggling MS files first delete any Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

remove section on replicating with `gpt`
Source Link
lx07
  • 3.1k
  • 1
  • 15
  • 28

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in your EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely you didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

You can easily replicate this by deleting any partition with gpt remove and then recreating it with the same start and end positions although this is not really to be recommended unless you are particularly curious and willing to lose whatever is on that partition.

To remove the straggling MS files first delete theany Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in your EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely you didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

You can easily replicate this by deleting any partition with gpt remove and then recreating it with the same start and end positions although this is not really to be recommended unless you are particularly curious and willing to lose whatever is on that partition.

To remove the straggling MS files first delete the Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in your EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

To remove the straggling MS files first delete any Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder

Source Link
lx07
  • 3.1k
  • 1
  • 15
  • 28

The picture you show is written to the screen by the Microsoft bootloader program bootmgfw.efi which is found in your EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely you didn't. It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall. This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639. As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

You can easily replicate this by deleting any partition with gpt remove and then recreating it with the same start and end positions although this is not really to be recommended unless you are particularly curious and willing to lose whatever is on that partition.

To remove the straggling MS files first delete the Microsoft directory in the EFI partition:

  • disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
  • create mount point for EFI partition with mkdir /Volumes/ESP
  • mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
  • check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
  • delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
  • delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
  • alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Finder