Hard drive partition cannot be removed I tried to install windows with bootcamp assistant but an error occurred and the installation failed (I don't remember the error message). Bootcamp assistant then tried to remove the partition it created but it was taking too long (over an hour) so I closed the program and restarted it. Now I can't click continue as this error shows up.



I tried to remove the partition using disk utility but the minus button is greyed out.



I am new to macOS and have no idea what to do. My goal is to remove that partition and and install windows. Any help is much appreciated.
I would suggest the following:

1) backup your data - but you already did that didn't you..

2) Wipe and partition the drive from scratch and install macOS and windows from the start

Hopefully you will have a clean fresh install for both.