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.
diskutil list
to your question. This command will not change your Mac. The command just prints a text description of the pie chart you posted.