
There are several ways to handle this problem. Volume Erase failed Volume Erase failed with the error: Couldn’t Unmount Disk. Click First Aid to verify the disk or select Erase to format the disk if needed.

However the option to delete the BOOTCAMP partition is disabled in Disk Utility. So I did some research and found another post on AskDifferent that explained how to delete a partition from terminal (in recovery mode) by first unmounting the physical disk using diskutil unmountDisk /dev/disk0 and then deleting the partition using gpt remove. MAC FIRST AID UNABLE TO UNMOUNT VOLUME FOR REPAIR HOW TO MAC FIRST AID UNABLE TO UNMOUNT VOLUME FOR REPAIR MAC OS X.

MAC FIRST AID UNABLE TO UNMOUNT VOLUME FOR REPAIR HOW TO.
