Grinding while homing is usually either the limit switch is bad, the plug is loose, or the cable that runs up to the toolhead is in the way. I suggest rerouting the cables outside of the frame so they do not jam against it and keep it from homing properly.